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 a73d99c commit f8e13c0Copy full SHA for f8e13c0
1 file changed
Lib/test/test_inspect/test_inspect.py
@@ -5473,7 +5473,7 @@ def test_time_module_has_signatures(self):
5473
if os.name == 'posix':
5474
no_signature |= {'clock_getres', 'clock_settime', 'clock_settime_ns'}
5475
for name in ['pthread_getcpuclockid']:
5476
- if hasattr(os, name):
+ if hasattr(time, name):
5477
no_signature.add(name)
5478
self._test_module_has_signatures(time, no_signature)
5479
0 commit comments