summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index e57601917d..ba3b2ee314 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -315,7 +315,7 @@ class TestTime < Test::Unit::TestCase
def in_timezone(zone)
orig_zone = ENV['TZ']
- ENV['TZ'] = 'UTC'
+ ENV['TZ'] = zone
yield
ensure
ENV['TZ'] = orig_zone