Skip to content

gh-154948: Fix test_zipfile failure when SOURCE_DATE_EPOCH is set - #155001

Open
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:SOURCE_DATE_EPOCH
Open

gh-154948: Fix test_zipfile failure when SOURCE_DATE_EPOCH is set#155001
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:SOURCE_DATE_EPOCH

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Jul 31, 2026

Copy link
Copy Markdown
Member

Additionally, move the SOURCE_DATE_EPOCH test helpers from test_py_compile to test.support.os_helper, and refactor a little in test_zipfile and test_random to use them instead of duplicate helpers (they were already used by test_importlib and test_compileall).

Additionally, move the `SOURCE_DATE_EPOCH` test helpers from `test_py_compile` to `test.support.os_helper`.
@StanFromIreland

Copy link
Copy Markdown
Member Author

CC @vstinner, as you added them a little while ago in #9607.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33857397 | 📁 Comparing 0432647 against main (a646c99)

  🔍 Preview build  

1 file changed
± library/test.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant