New submission from Chris Angelico:
$ find . -name \*.pyc -delete
$ PYTHONDONTWRITEBYTECODE=1 make test
Three test failures, which all seem to be duplicates of:
======================================================================
FAIL: test_timestamp_overflow
(test.test_importlib.source.test_file_loader.Source_SimpleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/rosuav/cpython/Lib/test/test_importlib/source/test_file_loader.py", line
215, in test_timestamp_overflow
self.assertTrue(os.path.exists(compiled))
AssertionError: False is not true
----------------------------------------------------------------------
It goes looking for the .pyc cached file, does not find it, and fails. Test
should probably be skipped if bytecode isn't being written.
----------
messages: 212356
nosy: Rosuav
priority: normal
severity: normal
status: open
title: Test failures when running with PYTHONDONTWRITEBYTECODE
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20796>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com