Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

ActiveSupport timezone tests: silence_warnings still needed?

#1914

many of the time zone related tests in ActiveSupport are wrapped in a call to "silence_warnings"


silence_warnings do # silence warnings raised by tzinfo gem
  ...      
end

is this really needed? I don't seem to get any warnings if I remove all those calls (patch attached)

Reported by Levin Alexander · February 8th, 2009 @ 07:17 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [b91d98011ce4cb364dcaa9caecd571eb2c697659]) Remove obsolete silence_warnings wrappers from TZInfo-dependent tests in ActiveSupport [#1914 ActiveSupport timezone tests: silence_warnings still needed? state:resolved] http://github.com/rails/rails/co...

    February 14th, 2009 @ 06:26 PM