mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-20 20:37:06 +08:00
that test again...
This commit is contained in:
1 parent
cd40e213ce
commit
a6abab4ef0
1 file changed
+1
-1
@@ -9,7 +9,7 @@ def test_user_statement_on_import():
|
|||||||
" time)"
|
" time)"
|
||||||
|
|
||||||
for pos in [(2, 1), (2, 4)]:
|
for pos in [(2, 1), (2, 4)]:
|
||||||
u = UserContextParser(s, None, pos).user_stmt()
|
u = UserContextParser(s, None, pos, None).user_stmt()
|
||||||
assert isinstance(u, pr.Import)
|
assert isinstance(u, pr.Import)
|
||||||
assert u.defunct is False
|
assert u.defunct is False
|
||||||
assert [str(n) for n in u.get_defined_names()] == ['time']
|
assert [str(n) for n in u.get_defined_names()] == ['time']
|
||||||
|
|||||||
Reference in new issue
Block a user