Skip to content

Commit ddd619c

Browse files
authored
Fix detection of presence of time.tzset (gh-101539) (#101540)
Resolves gh-101539 Related to gh-31898
1 parent 5a2b984 commit ddd619c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/datetimetester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6173,7 +6173,7 @@ def test_gaps(self):
61736173
self.assertEqual(ldt.fold, 0)
61746174

61756175
@unittest.skipUnless(
6176-
hasattr(time, "tzset"), "time module has no attribute tzset"
6176+
hasattr(_time, "tzset"), "time module has no attribute tzset"
61776177
)
61786178
def test_system_transitions(self):
61796179
if ('Riyadh8' in self.zonename or

0 commit comments

Comments
 (0)