psych tests sometimes fail.

% ./ruby test/runner.rb psych
Loaded suite test/runner
Started
...(snip)...
Finished in 1.003971 seconds.

  1) Failure:
test_time_utc_no_z(Psych::Visitors::TestToRuby)
[/home/ruby/tcio/ruby/test/psych/visitors/test_to_ruby.rb:134]:
Expected 2010-07-05 13:21:36 UTC, not 2010-07-05 22:21:36 +0900.

  2) Failure:
test_time_utc(Psych::Visitors::TestToRuby)
[/home/ruby/tcio/ruby/test/psych/visitors/test_to_ruby.rb:126]:
Expected 2010-07-05 13:21:36 UTC, not 2010-07-05 13:21:36 UTC.

  3) Failure:
test_time(Psych::Visitors::TestToRuby)
[/home/ruby/tcio/ruby/test/psych/visitors/test_to_ruby.rb:118]:
Expected 2010-07-05 22:21:36 +0900, not 2010-07-05 22:21:36 +0900.

  4) Failure:
test_time(Psych::Visitors::TestYAMLTree)
[/home/ruby/tcio/ruby/test/psych/visitors/test_yaml_tree.rb:57]:
Expected 2010-07-05 22:21:36 +0900, not 2010-07-05 22:21:36 +0900.

321 tests, 954 assertions, 4 failures, 0 errors, 0 skips

Test run options: --seed 25269
zsh: exit 1     ./ruby test/runner.rb psych
% ./ruby -v
ruby 1.9.3dev (2010-07-05 trunk 28542) [i686-linux]

I run psych tests 1000 times.
It seems the 6 tests can fail.

% grep '^test' log|sort|uniq -c
     89 test_round_trip(Psych::TestDateTime)
[/home/ruby/tcio/ruby/test/psych/test_date_time.rb:14]:
    101 test_time(Psych::Visitors::TestToRuby)
[/home/ruby/tcio/ruby/test/psych/visitors/test_to_ruby.rb:118]:
    100 test_time(Psych::Visitors::TestYAMLTree)
[/home/ruby/tcio/ruby/test/psych/visitors/test_yaml_tree.rb:57]:
    111 test_time_now_cycle(Psych_Unit_Tests)
[/home/ruby/tcio/ruby/test/psych/test_yaml.rb:1157]:
    102 test_time_utc(Psych::Visitors::TestToRuby)
[/home/ruby/tcio/ruby/test/psych/visitors/test_to_ruby.rb:126]:
    101 test_time_utc_no_z(Psych::Visitors::TestToRuby)
[/home/ruby/tcio/ruby/test/psych/visitors/test_to_ruby.rb:134]:
-- 
Tanaka Akira