kadler / cpython

The Python programming language
https://www.python.org/
Other
2 stars 2 forks source link

Test failure in test_time #23

Open kadler opened 4 years ago

kadler commented 4 years ago
======================================================================
ERROR: test_pthread_getcpuclockid (test.test_time.TimeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/test/test_time.py", line 116, in test_pthread_getcpuclockid
    self.assertNotEqual(clk_id, time.CLOCK_THREAD_CPUTIME_ID)
AttributeError: module 'time' has no attribute 'CLOCK_THREAD_CPUTIME_ID'

IBM i doesn't support CLOCK_THREAD_CPUTIME_ID so we'll need to disable this test.