Skip to content

Commit 75a89b8

Browse files
Update test_wsgiref.py
1 parent 24cfb00 commit 75a89b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_wsgiref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ def testRaisesControlCharacters(self):
857857
headers.add_header("key", "val")
858858
# HTAB (\x09) is allowed in values, but not in names.
859859
if c0 == "\t":
860-
raise exception
860+
raise TypeError("If this is not triggered it's not reachable")
861861

862862

863863
class TestModule(unittest.TestCase):

0 commit comments

Comments
 (0)