Skip to content

Commit 48aabd7

Browse files
committed
Fix lazy import test for mimetypes
1 parent 586ffdb commit 48aabd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/test/test_mimetypes.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def test__all__(self):
593593

594594
@cpython_only
595595
def test_lazy_import(self):
596-
ensure_lazy_imports("mimetypes", {"os", "posixpath", "urllib.parse", "argparse"})
596+
ensure_lazy_imports("mimetypes", {"urllib.parse", "argparse", "warnings"})
597597

598598

599599
class CommandLineTest(unittest.TestCase):

0 commit comments

Comments
 (0)