Skip to content

Commit b491245

Browse files
Update test_wsgiref.py
1 parent edb54a2 commit b491245

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/test_wsgiref.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,10 +854,8 @@ def testRaisesControlCharacters(self):
854854
with self.subTest(c0):
855855
base = BaseHandler()
856856
headers = [('x','y')]
857-
headers.add_header("key", "val")
858857
# HTAB (\x09) is allowed in values, but not in names.
859858
if c0 == "\t":
860-
base['key'] = f"val{c0}"
861859
base.start_response(f"key{c0}", headers)
862860
else:
863861
self.assertRaises(ValueError, base.start_response, f"key{c0}", headers)

0 commit comments

Comments
 (0)