Commit e17919fa authored by Robert Bradshaw's avatar Robert Bradshaw

Be explict about bytes in custom string test.

parent 4a7dc93e
...@@ -41,5 +41,5 @@ def do_convert(MyString value): ...@@ -41,5 +41,5 @@ def do_convert(MyString value):
return value return value
def test_convert(): def test_convert():
assert do_convert("abc") == "abc" assert do_convert(b"abc") == b"abc"
assert do_convert("ab\0c") == "ab\0c" assert do_convert(b"ab\0c") == b"ab\0c"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment