diff options
author | Alexander Belopolsky <abalkin@users.noreply.github.com> | 2023-02-05 07:14:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-05 07:14:15 (GMT) |
commit | ddd619cffa457776a22f224b7111bd39de289d66 (patch) | |
tree | 0a29b512529b22896c85652b5d17cf72a2244502 | |
parent | 5a2b984568f72f0d7ff7c7b4ee8ce31af9fd1b7e (diff) | |
download | cpython-ddd619cffa457776a22f224b7111bd39de289d66.zip cpython-ddd619cffa457776a22f224b7111bd39de289d66.tar.gz cpython-ddd619cffa457776a22f224b7111bd39de289d66.tar.bz2 |
Fix detection of presence of time.tzset (gh-101539) (#101540)
Resolves gh-101539
Related to gh-31898
-rw-r--r-- | Lib/test/datetimetester.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py index 6a1df17..570f803 100644 --- a/Lib/test/datetimetester.py +++ b/Lib/test/datetimetester.py @@ -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 |