Skip to content

Commit

Permalink
Test attribute access on non-global names
Browse files Browse the repository at this point in the history
(I'm improving branch coverage.)
  • Loading branch information
mgedmin committed Jun 4, 2015
1 parent 9b3fda9 commit e7c776a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/dotted-names.txt
Expand Up @@ -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')
Expand Down

0 comments on commit e7c776a

Please sign in to comment.