From 717265a59a12f17231ec2ca42d3d814ef2187c74 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Sat, 10 Jan 2026 16:01:53 -0500 Subject: [PATCH] Remove test_import from list of polluters --- .github/workflows/ci.yaml | 1 - Lib/test/test_import/__init__.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 05dedc50d..5ac838a6b 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_import test_raise test_ssl test_threading diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py index a8d11f594..abe8b75e7 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -432,10 +432,6 @@ class ImportTests(unittest.TestCase, ExtraAssertions): self.assertIn(cm.exception.name, {'posixpath', 'ntpath'}) self.assertIsNotNone(cm.exception) - @unittest.skipIf( # TODO: RUSTPYTHON - 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os.environ, # TODO: RUSTPYTHON - 'TODO: RUSTPYTHON environment pollution when running rustpython -m test --fail-env-changed due to unknown reason' - ) # TODO: RUSTPYTHON @unittest.expectedFailure # TODO: RUSTPYTHON def test_from_import_star_invalid_type(self): import re