[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] python tests: Do not require .pyo files
From: |
Mathieu Lirzin |
Subject: |
Re: [PATCH 2/2] python tests: Do not require .pyo files |
Date: |
Sat, 07 Jul 2018 23:45:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Lukas Fleischer <address@hidden> 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
- Re: [PATCH 2/2] python tests: Do not require .pyo files,
Mathieu Lirzin <=