Skip to content

Commit f30bec9

Browse files
committed
add test for #48
1 parent 61b09b3 commit f30bec9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test_autoflake.py

+2
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def test_filter_star_import(self):
110110
def test_filter_unused_variable(self):
111111
self.assertEqual('foo()',
112112
autoflake.filter_unused_variable('x = foo()'))
113+
self.assertEqual('foo(k=None)',
114+
autoflake.filter_unused_variable('x = foo(k=None)'))
113115

114116
self.assertEqual(' foo()',
115117
autoflake.filter_unused_variable(' x = foo()'))

0 commit comments

Comments
 (0)