From 1426f87c9987399c3700517f9c8e6767da714d47 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 18 Nov 2016 15:49:39 +0530 Subject: [PATCH] ... --- kitty_tests/datatypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/datatypes.py b/kitty_tests/datatypes.py index 79a4de046..5f872f4e6 100644 --- a/kitty_tests/datatypes.py +++ b/kitty_tests/datatypes.py @@ -265,7 +265,7 @@ class TestDataTypes(BaseTest): self.assertTrue(is_simple_string(s)) self.assertTrue(is_simple_string(d(s.encode('utf-8')))) self.assertFalse(is_simple_string('a1コ')) - self.assertEqual(sanitize_title('a\0\01 \t\n\f\rb'), 'a b') + self.assertEqual(sanitize_title(b'a\0\01 \t\n\f\rb'), b'a b') def test_color_profile(self): c = ColorProfile()