summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/importlib/test')
-rw-r--r--Lib/importlib/test/source/test_abc_loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/source/test_abc_loader.py b/Lib/importlib/test/source/test_abc_loader.py
index a237a5f..b2ad0e2 100644
--- a/Lib/importlib/test/source/test_abc_loader.py
+++ b/Lib/importlib/test/source/test_abc_loader.py
@@ -141,7 +141,7 @@ class PyLoaderTests(testing_abc.LoaderTests):
def test_package(self):
name = '<pkg>'
- path = '/path/to/<pkg>/__init__'
+ path = '/path/to/{}/__init__'.format(name)
mock = self.mocker({name: path})
with util.uncache(name):
module = mock.load_module(name)