Skip to content

Commit 5156283

Browse files
committed
Update to match API change
1 parent a2b686c commit 5156283

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test_autoflake.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def test_filter_code_should_respect_noqa(self):
303303
x = 1
304304
""")))
305305

306-
def test_filter_code_expand_star_import(self):
306+
def test_filter_code_expand_star_imports(self):
307307
self.assertEqual(
308308
"""\
309309
from math import sin
@@ -312,7 +312,7 @@ def test_filter_code_expand_star_import(self):
312312
''.join(autoflake.filter_code("""\
313313
from math import *
314314
sin(1)
315-
""", expand_star_import=True)))
315+
""", expand_star_imports=True)))
316316

317317
self.assertEqual(
318318
"""\
@@ -324,7 +324,7 @@ def test_filter_code_expand_star_import(self):
324324
from math import *
325325
sin(1)
326326
cos(1)
327-
""", expand_star_import=True)))
327+
""", expand_star_imports=True)))
328328

329329
def test_filter_code_ignore_multiple_star_import(self):
330330
self.assertEqual(
@@ -339,7 +339,7 @@ def test_filter_code_ignore_multiple_star_import(self):
339339
from re import *
340340
sin(1)
341341
cos(1)
342-
""", expand_star_import=True)))
342+
""", expand_star_imports=True)))
343343

344344
def test_multiline_import(self):
345345
self.assertTrue(autoflake.multiline_import(r"""\

0 commit comments

Comments
 (0)