Re: [PATCH 2/2] python tests: Do not require .pyo files

Mathieu Lirzin <[email protected]>
Newsgroups gmane.comp.sysutils.automake.patches
Message-ID <[email protected]>
Lukas Fleischer <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.