Fix a python 2 dynamic issue

This commit is contained in:
Dave Halter
2019-08-21 01:13:19 +02:00
parent 4cbe2898c0
commit 84f6d95fde
3 changed files with 14 additions and 14 deletions

View File

@@ -386,7 +386,7 @@ def test_import(names):
n = nms[1].goto_assignments()[0]
# This is very special, normally the name doesn't chance, but since
# os.path is a sys.modules hack, it does.
assert n.name in ('ntpath', 'posixpath', 'os2emxpath')
assert n.name in ('macpath', 'ntpath', 'posixpath', 'os2emxpath')
assert n.type == 'module'