Skip to content

Commit e84de9a

Browse files
Remove this because I use the more strict one for status without the HTAB because it seems to me to have no use case in status
1 parent fb527db commit e84de9a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Lib/test/test_wsgiref.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -854,11 +854,7 @@ def testRaisesControlCharacters(self):
854854
with self.subTest(c0):
855855
base = BaseHandler()
856856
headers = [('x','y')]
857-
# HTAB (\x09) is allowed in values, but not in names.
858-
if c0 == "\t":
859-
self.assertRaises(AssertionError, base.start_response, f"key{c0}", headers)
860-
else:
861-
self.assertRaises(ValueError, base.start_response, f"key{c0}", headers)
857+
self.assertRaises(ValueError, base.start_response, f"key{c0}", headers)
862858

863859

864860
class TestModule(unittest.TestCase):

0 commit comments

Comments
 (0)