summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_lazy.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importlib/test_lazy.py')
-rw-r--r--Lib/test/test_importlib/test_lazy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/test_lazy.py b/Lib/test/test_importlib/test_lazy.py
index 2e191bb..774b7a4 100644
--- a/Lib/test/test_importlib/test_lazy.py
+++ b/Lib/test/test_importlib/test_lazy.py
@@ -54,6 +54,7 @@ class LazyLoaderTests(unittest.TestCase):
def test_init(self):
with self.assertRaises(TypeError):
+ # Classes that dono't define exec_module() trigger TypeError.
util.LazyLoader(object)
def new_module(self, source_code=None):