From 0d72eb738c8d9ee5f32c7e062c4701f3047023e3 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Thu, 27 Mar 2025 16:52:23 -0400 Subject: [PATCH] web_test: Fix the build A PR that failed lint (#3451) was merged because CI somehow didn't run on it. --- tornado/test/web_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tornado/test/web_test.py b/tornado/test/web_test.py index 45bf211b..6a04059d 100644 --- a/tornado/test/web_test.py +++ b/tornado/test/web_test.py @@ -710,8 +710,8 @@ class SetHeaderHandler(RequestHandler): def get(self): # tests the validity of web.RequestHandler._VALID_HEADER_CHARS illegal_chars = [chr(o) for o in range(0, 0x20)] - illegal_chars.append(chr(0x7f)) - illegal_chars.remove('\t') + illegal_chars.append(chr(0x7F)) + illegal_chars.remove("\t") for char in illegal_chars: try: self.set_header("X-Foo", "foo" + char + "bar") -- 2.47.2