Remove test_import from list of polluters

This commit is contained in:
Padraic Fanning committed 2026-01-10 22:10:35 -05:00
1 parent daaae22077
commit 717265a59a
2 files changed
-5

No files matched your search

-1
View File
@@ -106,7 +106,6 @@ env:
test_weakref
test_yield_from
ENV_POLLUTING_TESTS_COMMON: >-
test_import
test_raise
test_ssl
test_threading
-4
View File
@@ -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