From 211fc62b696896085750dc6ef66b58dc17ebde84 Mon Sep 17 00:00:00 2001 From: Akshay Sharma Date: Thu, 15 Jul 2021 20:06:56 +0530 Subject: [PATCH] Remove commented func --- tests/test_responsetypes.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/test_responsetypes.py b/tests/test_responsetypes.py index f8968c1c1..ed817b3ce 100644 --- a/tests/test_responsetypes.py +++ b/tests/test_responsetypes.py @@ -49,18 +49,6 @@ class ResponseTypesTest(unittest.TestCase): retcls = responsetypes.from_content_type(source) assert retcls is cls, f"{source} ==> {retcls} != {cls}" - """def test_from_body(self): - mappings = [ - (b'\x03\x02\xdf\xdd\x23', Response), - (b'Some plain text\ndata with tabs\t and null bytes\0', TextResponse), - (b'Hello', HtmlResponse), - (b' {retcls} != {cls}" - """ - def test_from_headers(self): mappings = [ ({'Content-Type': ['text/html; charset=utf-8']}, HtmlResponse),