Skip to content

Commit

Permalink
add test for PyCQA#48
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Apr 18, 2019
1 parent 61b09b3 commit f30bec9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_autoflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def test_filter_star_import(self):
def test_filter_unused_variable(self):
self.assertEqual('foo()',
autoflake.filter_unused_variable('x = foo()'))
self.assertEqual('foo(k=None)',
autoflake.filter_unused_variable('x = foo(k=None)'))

self.assertEqual(' foo()',
autoflake.filter_unused_variable(' x = foo()'))
Expand Down

0 comments on commit f30bec9

Please sign in to comment.