[New-bugs-announce] [issue37195] test_utime fails on MacOS Mojave (Kernel Version 18.6.0:)

Pablo Galindo Salgado report at bugs.python.org
Fri Jun 7 09:04:54 EDT 2019


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

./python.exe -m test test_os -R : -v
======================================================================
FAIL: test_utime (test.test_os.UtimeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pgalindo3/github/cpython/Lib/test/test_os.py", line 591, in test_utime
    self._test_utime(set_time)
  File "/Users/pgalindo3/github/cpython/Lib/test/test_os.py", line 579, in _test_utime
    self.assertAlmostEqual(st.st_atime, atime_ns * 1e-9, delta=1e-6)
AssertionError: 1559912609.2612822 != 1.002003 within 1e-06 delta (1559912608.2592793 difference)

======================================================================
FAIL: test_utime_by_indexed (test.test_os.UtimeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pgalindo3/github/cpython/Lib/test/test_os.py", line 609, in test_utime_by_indexed
    self._test_utime(set_time)
  File "/Users/pgalindo3/github/cpython/Lib/test/test_os.py", line 579, in _test_utime
    self.assertAlmostEqual(st.st_atime, atime_ns * 1e-9, delta=1e-6)
AssertionError: 1559912609.2679918 != 1.002003 within 1e-06 delta (1559912608.2659888 difference)

======================================================================
FAIL: test_utime_dir_fd (test.test_os.UtimeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pgalindo3/github/cpython/Lib/test/test_os.py", line 651, in test_utime_dir_fd
    self._test_utime(set_time)
  File "/Users/pgalindo3/github/cpython/Lib/test/test_os.py", line 579, in _test_utime
    self.assertAlmostEqual(st.st_atime, atime_ns * 1e-9, delta=1e-6)
AssertionError: 1559912609.2721212 != 1.002003 within 1e-06 delta (1559912608.2701182 difference)

----------------------------------------------------------------------

----------
components: Tests
messages: 344933
nosy: pablogsal, vstinner
priority: normal
severity: normal
status: open
title: test_utime fails on MacOS Mojave (Kernel Version 18.6.0:)
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37195>
_______________________________________


More information about the New-bugs-announce mailing list