summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importhooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importhooks.py')
-rw-r--r--Lib/test/test_importhooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importhooks.py b/Lib/test/test_importhooks.py
index 18f3fc4..3108bd6 100644
--- a/Lib/test/test_importhooks.py
+++ b/Lib/test/test_importhooks.py
@@ -105,7 +105,7 @@ class ImportBlocker:
return self
return None
def load_module(self, fullname):
- raise ImportError, "I dare you"
+ raise ImportError("I dare you")
class ImpWrapper: