From 06b91da943c1355ddc8a1018b67ebd5f35bc833e Mon Sep 17 00:00:00 2001 From: Gregory Vigo Torres Date: Fri, 31 Jul 2015 14:31:11 +0200 Subject: [PATCH] using bytes for body constant --- tests/test_responsetypes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_responsetypes.py b/tests/test_responsetypes.py index 1d78d0976..2374d518f 100644 --- a/tests/test_responsetypes.py +++ b/tests/test_responsetypes.py @@ -43,10 +43,10 @@ class ResponseTypesTest(unittest.TestCase): def test_from_body(self): mappings = [ - ('\x03\x02\xdf\xdd\x23', Response), - ('Some plain text\ndata with tabs\t and null bytes\0', TextResponse), - ('Hello', HtmlResponse), - ('Hello', HtmlResponse), + (b'