We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93eed5 commit 6aa991eCopy full SHA for 6aa991e
1 file changed
tests/test_cli.py
@@ -6,10 +6,11 @@ def test_console_script():
6
try:
7
result = subprocess.check_output(command)
8
except AttributeError:
9
+ command[2] = 'textile.__main__'
10
result = subprocess.Popen(command,
11
stdout=subprocess.PIPE).communicate()[0]
12
with open('tests/fixtures/README.txt') as f:
13
expect = ''.join(f.readlines())
14
if type(result) == bytes:
- result.decode('utf-8')
15
+ result = result.decode('utf-8')
16
assert result == expect
0 commit comments