Commit d4211064 authored by Brett Cannon's avatar Brett Cannon

Make a test in importlib have a more robust test value.

parent 1368b02e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment