Skip to content

Commit f3a9bd4

Browse files
authored
Merge pull request #3474 from bdarnell/fix-build
web_test: Fix the build
2 parents fc30017 + 0d72eb7 commit f3a9bd4

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)