Skip to content

Commit 6aa991e

Browse files
committed
real fixes ???
1 parent a93eed5 commit 6aa991e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ def test_console_script():
66
try:
77
result = subprocess.check_output(command)
88
except AttributeError:
9+
command[2] = 'textile.__main__'
910
result = subprocess.Popen(command,
1011
stdout=subprocess.PIPE).communicate()[0]
1112
with open('tests/fixtures/README.txt') as f:
1213
expect = ''.join(f.readlines())
1314
if type(result) == bytes:
14-
result.decode('utf-8')
15+
result = result.decode('utf-8')
1516
assert result == expect

0 commit comments

Comments
 (0)