Lukas Fleischer <lfleisc...@lfos.de> writes: > As of Python 3.5, but unoptimized and optimized bytecode are stored > within .pyc files; .pyo files are no longer generated. Update the Python > tests such that the test do not fail if .pyo files are missing.
Like in other message, it is important that the test suite passes with older python version. Have you checked? > * t/py-compile-basedir.sh: Remove all .pyo checks. > * t/py-compile-basic.sh: Likewise. > * t/py-compile-destdir.sh: Likewise. > * t/py-compile-option-terminate.sh: Likewise. > * t/python-virtualenv.sh: Likewise. > * t/python10.sh: Likewise. > * t/python12.sh: Likewise. > * t/python3.sh: Likewise. > --- > t/py-compile-basedir.sh | 2 -- > t/py-compile-basic.sh | 3 --- > t/py-compile-destdir.sh | 12 +++++------- > t/py-compile-option-terminate.sh | 5 ----- > t/python-virtualenv.sh | 4 ---- > t/python10.sh | 6 ------ > t/python12.sh | 3 +-- > t/python3.sh | 1 - > 8 files changed, 6 insertions(+), 30 deletions(-) Thanks for the patch. -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37