summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2019-11-19 19:45:20 (GMT)
committerBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-11-19 19:45:20 (GMT)
commit892221bfa04a41cf581f988ba19dc263f557e157 (patch)
tree3961cf2084befe960fd1171381564886cb4a913c /Lib/test/test_importlib
parent54b32c987146123f2237f0e21b1d02b1c1ebdf6f (diff)
downloadcpython-892221bfa04a41cf581f988ba19dc263f557e157.zip
cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.gz
cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.bz2
bpo-38839: Fix some unused functions in tests (GH-17189)
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/import_/test_relative_imports.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/import_/test_relative_imports.py b/Lib/test/test_importlib/import_/test_relative_imports.py
index 586a9bf..41aa182 100644
--- a/Lib/test/test_importlib/import_/test_relative_imports.py
+++ b/Lib/test/test_importlib/import_/test_relative_imports.py
@@ -133,6 +133,7 @@ class RelativeImports:
self.assertEqual(module.__name__, 'pkg')
self.assertTrue(hasattr(module, 'subpkg2'))
self.assertEqual(module.subpkg2.attr, 'pkg.subpkg2.__init__')
+ self.relative_import_test(create, globals_, callback)
def test_deep_import(self):
# [deep import]