Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Readded skipIf to test_cleanup_with_symlink_modes with a more general…
… ENV_POLLUTING_TESTS_WINDOWS
  • Loading branch information
terryluan12 authored and youknowone committed Jan 15, 2026
commit 4f86cbf661c2f4e8aa09cacfb3c0e3b04045a8f8
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ env:
test.test_multiprocessing_forkserver.test_processes
test.test_multiprocessing_spawn.test_processes
ENV_POLLUTING_TESTS_WINDOWS: >-
test.test_tempfile
# Python version targeted by the CI.
PYTHON_VERSION: "3.13.1"
X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR: C:\Program Files\OpenSSL\lib\VC\x64\MD
Expand Down
5 changes: 4 additions & 1 deletion Lib/test/test_tempfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,10 @@ def test_cleanup_with_symlink_to_a_directory(self):
d2.cleanup()

@os_helper.skip_unless_symlink
@unittest.skip('TODO: RUSTPYTHON; alters the execution environment (env changed)')
@unittest.skipIf(
sys.platform == 'win32' and 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os.environ,
'TODO: RUSTPYTHON; alters the execution environment (env changed)'
)
def test_cleanup_with_symlink_modes(self):
# cleanup() should not follow symlinks when fixing mode bits (#91133)
with self.do_create(recurse=0) as d2:
Expand Down