Skip to content

Commit 0d72eb7

Browse files
committed
web_test: Fix the build
A PR that failed lint (#3451) was merged because CI somehow didn't run on it.
1 parent fc30017 commit 0d72eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tornado/test/web_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,8 @@ class SetHeaderHandler(RequestHandler):
710710
def get(self):
711711
# tests the validity of web.RequestHandler._VALID_HEADER_CHARS
712712
illegal_chars = [chr(o) for o in range(0, 0x20)]
713-
illegal_chars.append(chr(0x7f))
714-
illegal_chars.remove('\t')
713+
illegal_chars.append(chr(0x7F))
714+
illegal_chars.remove("\t")
715715
for char in illegal_chars:
716716
try:
717717
self.set_header("X-Foo", "foo" + char + "bar")

0 commit comments

Comments
 (0)