summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-02-21 02:37:04 (GMT)
committerBrett Cannon <brett@python.org>2016-02-21 02:37:04 (GMT)
commite5f4d3c2460bdedfcff196cb7399e407db69aa73 (patch)
treee8f37921bcb9d2337f9153bf9a0819fc453a7725 /Lib/test
parent0911c0d27176bb0501b87dd65ebfb47bc3da4e12 (diff)
parent558823a0cf7834cb8bc45123604008e33b4e69e2 (diff)
downloadcpython-e5f4d3c2460bdedfcff196cb7399e407db69aa73.zip
cpython-e5f4d3c2460bdedfcff196cb7399e407db69aa73.tar.gz
cpython-e5f4d3c2460bdedfcff196cb7399e407db69aa73.tar.bz2
Merge for issue #26186
Diffstat (limited to 'Lib/test')
-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):