From: Brett Cannon Date: Thu, 2 Apr 2009 15:35:09 +0000 (+0000) Subject: Make a test in importlib have a more robust test value. X-Git-Tag: v3.1a2~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f86213f6f21c7dbb68ed34a9360c6e36a6f48c3a;p=python Make a test in importlib have a more robust test value. --- diff --git a/Lib/importlib/test/source/test_abc_loader.py b/Lib/importlib/test/source/test_abc_loader.py index a237a5ffeb..b2ad0e2aab 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 = '' - path = '/path/to//__init__' + path = '/path/to/{}/__init__'.format(name) mock = self.mocker({name: path}) with util.uncache(name): module = mock.load_module(name)