Skip to content

Commit

Permalink
one more
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tal committed Apr 12, 2014
1 parent 2fe8c6f commit cfbb14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def test_cannot_decode_crazy_chars(tweet, settings, capfd):
tweet["text"] = "do you have any spare ⌛ for a 🍔?"
print_tweet(tweet, settings)
out, _ = capfd.readouterr()
if sys.version_info.major == 2:
if sys.version_info[0] == 2:
assert not out
else:
assert tweet["text"] in out.strip()
Expand Down

0 comments on commit cfbb14f

Please sign in to comment.