Project

General

Profile

Actions

Bug #3530

closed

psych failures at Adelaide

Added by akr (Akira Tanaka) almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
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 #<DateTime: 2010-07-03T20:21:29+09:30
    (212144914289388924893/86400000000000,19/48,2299161)>, not #<DateTime:
    2010-07-03T20:51:29+09:30
    (212144916089388924893/86400000000000,19/48,2299161)>.

  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

Actions #1

Updated by Anonymous almost 14 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

Actions

Also available in: Atom PDF

Like0
Like0