Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d55bf9 commit 6ecf76eCopy full SHA for 6ecf76e
1 file changed
Lib/test/test_time.py
@@ -126,9 +126,9 @@ def test_asctime(self):
126
def test_asctime_bounding_check(self):
127
self._bounds_checking(time.asctime)
128
129
+ @unittest.skipIf(not hasattr(time, "tzset"),
130
+ "time module has no attribute tzset")
131
def test_tzset(self):
- if not hasattr(time, "tzset"):
- return # Can't test this; don't want the test suite to fail
132
133
from os import environ
134
0 commit comments