summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-04-02 15:35:09 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-04-02 15:35:09 (GMT)
commitf86213f6f21c7dbb68ed34a9360c6e36a6f48c3a (patch)
tree27b4fc2c7deb555ea9c74b9945f47916c19f2a11 /Lib/importlib
parent978259e9b3744027304477306a13b0c32d21885c (diff)
downloadcpython-f86213f6f21c7dbb68ed34a9360c6e36a6f48c3a.zip
cpython-f86213f6f21c7dbb68ed34a9360c6e36a6f48c3a.tar.gz
cpython-f86213f6f21c7dbb68ed34a9360c6e36a6f48c3a.tar.bz2
Make a test in importlib have a more robust test value.
Diffstat (limited to 'Lib/importlib')
-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)