Skip to content

Commit

Permalink
Undo incorrect change
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Jul 17, 2013
1 parent fd14dda commit f2ca3b2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test_autoflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""Test suite for autoflake."""

from __future__ import unicode_literals
from __future__ import print_function

import contextlib
import io
Expand Down Expand Up @@ -779,7 +778,8 @@ def test_end_to_end(self):
x = os.sep
print(x)
""") as filename:
process = subprocess.Popen(['./autoflake',
process = subprocess.Popen([sys.executable,
'./autoflake',
'--imports=fake_foo,fake_bar',
filename],
stdout=subprocess.PIPE)
Expand All @@ -800,7 +800,8 @@ def test_end_to_end_with_remove_all_unused_imports(self):
x = os.sep
print(x)
""") as filename:
process = subprocess.Popen(['./autoflake',
process = subprocess.Popen([sys.executable,
'./autoflake',
'--remove-all',
filename],
stdout=subprocess.PIPE)
Expand All @@ -819,7 +820,8 @@ def test_end_to_end_with_error(self):
x = os.sep
print(x)
""") as filename:
process = subprocess.Popen(['./autoflake',
process = subprocess.Popen([sys.executable,
'./autoflake',
'--imports=fake_foo,fake_bar',
'--remove-all',
filename],
Expand Down

0 comments on commit f2ca3b2

Please sign in to comment.