logo

deblob

remove binary executables from a directory git clone https://hacktivis.me/git/deblob.git
commit: 72d24eb08347ed90d409471a87968fc400d60baa
parent db67dcecd4a6e48a1e074061c6f8b42d2f4dabd7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  3 Dec 2022 04:52:43 +0100

Fix generating different invalidation modes for *.pyc fixture files

Diffstat:

Mtest/fixtures/pyc/hello.checked_hash.cpython-310.pyc0
Mtest/fixtures/pyc/hello.checked_hash.cpython-38.pyc0
Mtest/fixtures/pyc/hello.checked_hash.cpython-39.pyc0
Mtest/fixtures/pyc/hello.timestamp.cpython-310.pyc0
Mtest/fixtures/pyc/hello.timestamp.cpython-38.pyc0
Mtest/fixtures/pyc/hello.timestamp.cpython-39.pyc0
Mtest/fixtures/pyc/hello.unchecked_hash.cpython-310.pyc0
Mtest/fixtures/pyc/hello.unchecked_hash.cpython-38.pyc0
Mtest/fixtures/pyc/hello.unchecked_hash.cpython-39.pyc0
Mtest/python_compile.py2+-
10 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/fixtures/pyc/hello.checked_hash.cpython-310.pyc b/test/fixtures/pyc/hello.checked_hash.cpython-310.pyc Binary files differ. diff --git a/test/fixtures/pyc/hello.checked_hash.cpython-38.pyc b/test/fixtures/pyc/hello.checked_hash.cpython-38.pyc Binary files differ. diff --git a/test/fixtures/pyc/hello.checked_hash.cpython-39.pyc b/test/fixtures/pyc/hello.checked_hash.cpython-39.pyc Binary files differ. diff --git a/test/fixtures/pyc/hello.timestamp.cpython-310.pyc b/test/fixtures/pyc/hello.timestamp.cpython-310.pyc Binary files differ. diff --git a/test/fixtures/pyc/hello.timestamp.cpython-38.pyc b/test/fixtures/pyc/hello.timestamp.cpython-38.pyc Binary files differ. diff --git a/test/fixtures/pyc/hello.timestamp.cpython-39.pyc b/test/fixtures/pyc/hello.timestamp.cpython-39.pyc Binary files differ. diff --git a/test/fixtures/pyc/hello.unchecked_hash.cpython-310.pyc b/test/fixtures/pyc/hello.unchecked_hash.cpython-310.pyc Binary files differ. diff --git a/test/fixtures/pyc/hello.unchecked_hash.cpython-38.pyc b/test/fixtures/pyc/hello.unchecked_hash.cpython-38.pyc Binary files differ. diff --git a/test/fixtures/pyc/hello.unchecked_hash.cpython-39.pyc b/test/fixtures/pyc/hello.unchecked_hash.cpython-39.pyc Binary files differ. diff --git a/test/python_compile.py b/test/python_compile.py @@ -13,4 +13,4 @@ for check in py_compile.PycInvalidationMode: name, sys.implementation.cache_tag ) print(dest_file) - py_compile.compile(src_file, cfile=dest_file, invalidation_mode=check.value) + py_compile.compile(src_file, cfile=dest_file, invalidation_mode=check)