diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index ebe6c8d37e501f..bfa5755304d310 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -4653,9 +4653,6 @@ def test_all_exported_names(self): if k in actual_all or ( # avoid private names not k.startswith('_') and - # avoid things in the io / re typing submodules - k not in typing.io.__all__ and - k not in typing.re.__all__ and k not in {'io', 're'} and # there's a few types and metaclasses that aren't exported not k.endswith(('Meta', '_contra', '_co')) and