File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,10 +145,10 @@ def test_localtime_epoch_notz_daylight_false(self):
145
145
# XXX: Need a more robust test for Olson's tzdata
146
146
@unittest .skipIf (sys .platform .startswith ('win' ),
147
147
"Windows does not use Olson's TZ database" )
148
- @unittest .skipUnless (os .path .exists ('/usr/share/zoneinfo' ) or
149
- os .path .exists ('/usr/lib/zoneinfo' ),
150
- "Can't find the Olson's TZ database" )
151
- @test .support .run_with_tz ('Europe/Kiev ' )
148
+ @unittest .skipUnless (os .path .exists ('/usr/share/zoneinfo/Europe/Kyiv ' ) or
149
+ os .path .exists ('/usr/lib/zoneinfo/Europe/Kyiv ' ),
150
+ "Can't find a recent Olson's TZ database" )
151
+ @test .support .run_with_tz ('Europe/Kyiv ' )
152
152
def test_variable_tzname (self ):
153
153
t0 = datetime .datetime (1984 , 1 , 1 , tzinfo = datetime .timezone .utc )
154
154
t1 = utils .localtime (t0 )
You can’t perform that action at this time.
0 commit comments