summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/import_/test___package__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importlib/import_/test___package__.py')
-rw-r--r--Lib/test/test_importlib/import_/test___package__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/import_/test___package__.py b/Lib/test/test_importlib/import_/test___package__.py
index 7f64548..b26634e 100644
--- a/Lib/test/test_importlib/import_/test___package__.py
+++ b/Lib/test/test_importlib/import_/test___package__.py
@@ -81,7 +81,7 @@ class Using__package__:
def test_bad__package__(self):
globals = {'__package__': '<not real>'}
- with self.assertRaises(SystemError):
+ with self.assertRaises(ModuleNotFoundError):
self.__import__('', globals, {}, ['relimport'], 1)
def test_bunk__package__(self):