commit: 362b1b59ed6bce181e049316b3d1946049fc6b0b
parent 3fad446a2c091ce5ed5b54974c038e85805dcb59
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 14 Oct 2025 23:25:19 +0200
python_*.py: fix path since tests got split
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/python_compile.py b/python_compile.py
@@ -8,8 +8,8 @@ import sys
for check in py_compile.PycInvalidationMode:
name = check.name.lower()
value = check.value
- src_file = "./test/fixtures/hello.py"
- dest_file = "./test/fixtures/pyc/hello.{}.{}.pyc".format(
+ src_file = "./fixtures/hello.py"
+ dest_file = "./fixtures/pyc/hello.{}.{}.pyc".format(
name, sys.implementation.cache_tag
)
print(dest_file)
diff --git a/python_pickle.py b/python_pickle.py
@@ -9,7 +9,7 @@ def hello():
for protocol in range(0, pickle.HIGHEST_PROTOCOL+1):
- dest_file = "./test/fixtures/pickle/hello.{}.pickle".format(protocol)
+ dest_file = "./fixtures/pickle/hello.{}.pickle".format(protocol)
print(dest_file)
fh = open(dest_file, "xb")
pickle.dump(hello, fh, protocol)