Skip to content

Commit a8a6a02

Browse files
committed
...and fix py3k.
1 parent c0c64bc commit a8a6a02

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ def test_version_string():
2626
command[2] = 'textile.__main__'
2727
result = subprocess.Popen(command,
2828
stdout=subprocess.PIPE).communicate()[0]
29+
if type(result) == bytes:
30+
result = result.decode('utf-8')
2931
assert result.strip() == textile.__version__

0 commit comments

Comments
 (0)