STINNER Victor <vstin...@redhat.com> added the comment:

FAIL: test_invalidation_mode (test.test_py_compile.PyCompileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/abuild/rpmbuild/BUILD/Python-3.7.0/Lib/test/test_py_compile.py", 
line 153, in test_invalidation_mode
    self.assertEqual(flags, 0b1)
AssertionError: 3 != 1


This failure looks suspicious. I looked at the code, and the tested function 
behaves differently depending of the SOURCE_DATE_EPOCH environment variable is 
set.

Aha! I found something:

$ SOURCE_DATE_EPOCH=1530605018 ./python -m test -j0
...
6 tests failed:
    test_cmd_line_script test_compileall test_importlib
    test_multiprocessing_main_handling test_py_compile test_runpy
...

----------
title: Python 3.7: 6 tests failed on OpenSUSE and Debian -> 6 tests fail using 
SOURCE_DATE_EPOCH env var

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34022>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to