Test attribute access on non-global names
(I'm improving branch coverage.)
This commit is contained in:
parent
9d8ff597a3
commit
0ef99a5de9
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ expressions. It works with dotted names too:
|
|||
... def f2():
|
||||
... import os.path
|
||||
... os.path.exists('foo')
|
||||
... x[0].append('')
|
||||
... ''')
|
||||
|
||||
>>> imports, unused_names = find_imports_and_track_names('marmalade.py')
|
||||
|
|
|
|||
Loading…
Reference in a new issue