We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 852da8c commit 6ab7362Copy full SHA for 6ab7362
Lib/test/test_exceptions.py
@@ -2632,7 +2632,7 @@ def test_repr(self):
2632
2633
def test_ModuleNotFoundError_repr_with_failed_import(self):
2634
try:
2635
- import does_not_exist # type: ignore[import]
+ import does_not_exist # type: ignore[import] # noqa: F401
2636
except ModuleNotFoundError as e:
2637
self.assertEqual(e.name, "does_not_exist")
2638
self.assertIsNone(e.path)
0 commit comments