From: RouxRC Date: Wed, 24 Dec 2014 06:45:49 +0000 (+0100) Subject: fix test syntax error for py3.2, note that having unicode_litterals loaded this is... X-Git-Tag: twitter-1.16.0~6 X-Git-Url: https://jfr.im/git/z_archive/twitter.git/commitdiff_plain/7b794007b0e757f5d1621475b6dedfa7d5112b1a fix test syntax error for py3.2, note that having unicode_litterals loaded this is exactly the same thing --- diff --git a/tests/test_internals.py b/tests/test_internals.py index 1942d00..a6a243a 100644 --- a/tests/test_internals.py +++ b/tests/test_internals.py @@ -26,5 +26,5 @@ def test_actually_bytes(): out_type = str if PY_3_OR_HIGHER: out_type = bytes - for inp in [b"asdf", "asdf", u"asdfüü", 1234]: + for inp in [b"asdf", "asdf", "asdfüü", 1234]: assert type(actually_bytes(inp)) == out_type