Project

General

Profile

Bug #3530

psych failures at Adelaide

Added by akr (Akira Tanaka) about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-core:31023]

Description

=begin
Several psych tests fail as follows when the timezone is set to
Australia/Adelaide.

% ./ruby -v
ruby 1.9.3dev (2010-07-03 trunk 28532) [i686-linux]
% TZ=Australia/Adelaide ./ruby test/runner.rb psych
Loaded suite test/runner
Started
...(snip)...
Finished in 1.000350 seconds.

1) Failure:
test_round_trip(Psych::TestDateTime)
[/home/ruby/tcstate/ruby/test/psych/test_date_time.rb:14]:
Expected #, not #.

2) Failure:
test_time(Psych::Visitors::TestToRuby)
[/home/ruby/tcstate/ruby/test/psych/visitors/test_to_ruby.rb:118]:
Expected 2010-07-03 20:21:29 +0930, not 2010-07-03 20:51:29 +0930.

3) Failure:
test_time(Psych::Visitors::TestYAMLTree)
[/home/ruby/tcstate/ruby/test/psych/visitors/test_yaml_tree.rb:57]:
Expected 2010-07-03 20:21:29 +0930, not 2010-07-03 20:51:29 +0930.

4) Failure:
test_time_now_cycle(Psych_Unit_Tests)
[/home/ruby/tcstate/ruby/test/psych/test_yaml.rb:1157]:
Expected 2010-07-03 20:21:30 +0930, not 2010-07-03 20:51:30 +0930.

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

Test run options: --seed 57308
--
Tanaka Akira
=end

History

#1

Updated by Anonymous about 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r28541.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF