mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Fix detection of presence of time.tzset (gh-101539) (#101540)
Resolves gh-101539 Related to gh-31898
This commit is contained in:
parent
5a2b984568
commit
ddd619cffa
1 changed files with 1 additions and 1 deletions
|
@ -6173,7 +6173,7 @@ class ZoneInfoTest(unittest.TestCase):
|
|||
self.assertEqual(ldt.fold, 0)
|
||||
|
||||
@unittest.skipUnless(
|
||||
hasattr(time, "tzset"), "time module has no attribute tzset"
|
||||
hasattr(_time, "tzset"), "time module has no attribute tzset"
|
||||
)
|
||||
def test_system_transitions(self):
|
||||
if ('Riyadh8' in self.zonename or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue