You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAIL: test_fetch_all (__main__.TestFetchAllProcesses)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1952, in test_fetch_all
self.fail(''.join(failures))
AssertionError:
======================================================================
FAIL: test_create_time (proc=psutil.Process(pid=0, name='kernel_task'),
ret=1370991995.147368))
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1937, in test_fetch_all
meth(ret)
File "test/test_psutil.py", line 1985, in create_time
self.assertGreaterEqual(ret, psutil.BOOT_TIME)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py",
line 944, in assertGreaterEqual
self.fail(self._formatMessage(msg, standardMsg))
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py",
line 408, in fail
raise self.failureException(msg)
AssertionError: 1370991995.147368 not greater than or equal to 1370992000.0
Looks like this is just a rounding difference comparing to BOOT_TIME.
From jlo...@gmail.com on June 18, 2013 02:38:14
Original issue: http://code.google.com/p/psutil/issues/detail?id=395
The text was updated successfully, but these errors were encountered: