From 8d505dc0e50cf929b06037f7208fa02a7edeb9d2 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Sat, 10 Jan 2026 18:51:41 -0500 Subject: [PATCH] Remove test_raise from list of polluters --- .github/workflows/ci.yaml | 1 - Lib/test/test_raise.py | 5 ----- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5ac838a6b..2ce5016c4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -106,7 +106,6 @@ env: test_weakref test_yield_from ENV_POLLUTING_TESTS_COMMON: >- - test_raise test_ssl test_threading ENV_POLLUTING_TESTS_LINUX: >- diff --git a/Lib/test/test_raise.py b/Lib/test/test_raise.py index 8a2937ed3..605169f4b 100644 --- a/Lib/test/test_raise.py +++ b/Lib/test/test_raise.py @@ -464,11 +464,6 @@ class TestContext(unittest.TestCase): f() - import os # TODO: RUSTPYTHON see below - @unittest.skipIf( - 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os.environ, - "TODO: RUSTPYTHON environment pollution when running rustpython -m test --fail-env-changed due to unraisable exception" - ) def test_3611(self): import gc # A re-raised exception in a __del__ caused the __context__