Correct issues with slices and some more subtle bugs.

This commit is contained in:
Dave Halter
2015-11-01 21:30:41 +01:00
parent dd6ade194a
commit 84c43bf2dc
6 changed files with 14 additions and 14 deletions

View File

@@ -316,7 +316,7 @@ class TestGotoAssignments(TestCase):
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')
assert n.name in ('ntpath', 'posixpath', 'os2emxpath')
assert n.type == 'module'
def test_import_alias(self):