From 2c09e0416bcf94d9ebef7c11bb1883388e8e2c5d Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 1 Jul 2016 17:49:18 -0700 Subject: minor fixes --- test/netlib/test_strutils.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/netlib/test_strutils.py') diff --git a/test/netlib/test_strutils.py b/test/netlib/test_strutils.py index a50fc40a..16e5d0b3 100644 --- a/test/netlib/test_strutils.py +++ b/test/netlib/test_strutils.py @@ -16,11 +16,11 @@ def test_native(): def test_clean_bin(): - assert strutils.clean_bin(b"one") == b"one" - assert strutils.clean_bin(b"\00ne") == b".ne" - assert strutils.clean_bin(b"\nne") == b"\nne" - assert strutils.clean_bin(b"\nne", False) == b".ne" - assert strutils.clean_bin(u"\u2605".encode("utf8")) == b"..." + assert strutils.clean_bin(b"one") == u"one" + assert strutils.clean_bin(b"\00ne") == u".ne" + assert strutils.clean_bin(b"\nne") == u"\nne" + assert strutils.clean_bin(b"\nne", False) == u".ne" + assert strutils.clean_bin(u"\u2605".encode("utf8")) == u"..." assert strutils.clean_bin(u"one") == u"one" assert strutils.clean_bin(u"\00ne") == u".ne" -- cgit v1.2.3