Skip to content

Commit

Permalink
Fixed u-string literal.
Browse files Browse the repository at this point in the history
  • Loading branch information
arekbulski committed Aug 24, 2016
1 parent 3fffc67 commit 6a12a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_parse(self):

def test_parse_utf8(self):
s = String("foo", 12, encoding="utf8")
self.assertEqual(s.parse(b"hello joh\xd4\x83n"), u"hello joh\u0503n")
self.assertEqual(s.parse(b"hello joh\xd4\x83n"), "hello joh\u0503n")

def test_parse_padded(self):
s = String("foo", 10, padchar=b"X", paddir="right")
Expand Down

0 comments on commit 6a12a11

Please sign in to comment.