@@ -470,39 +470,39 @@ class TestFilter(object):
470470 invalid_request_header_blocks_unicode = (
471471 # First, missing :method
472472 (
473- (u ':authority' , u 'google.com' ),
474- (u ':path' , u '/' ),
475- (u ':scheme' , u 'https' ),
473+ (':authority' , 'google.com' ),
474+ (':path' , '/' ),
475+ (':scheme' , 'https' ),
476476 ),
477477 # Next, missing :path
478478 (
479- (u ':authority' , u 'google.com' ),
480- (u ':method' , u 'GET' ),
481- (u ':scheme' , u 'https' ),
479+ (':authority' , 'google.com' ),
480+ (':method' , 'GET' ),
481+ (':scheme' , 'https' ),
482482 ),
483483 # Next, missing :scheme
484484 (
485- (u ':authority' , u 'google.com' ),
486- (u ':method' , u 'GET' ),
487- (u ':path' , u '/' ),
485+ (':authority' , 'google.com' ),
486+ (':method' , 'GET' ),
487+ (':path' , '/' ),
488488 ),
489489 # Finally, path present but empty.
490490 (
491- (u ':authority' , u 'google.com' ),
492- (u ':method' , u 'GET' ),
493- (u ':scheme' , u 'https' ),
494- (u ':path' , u '' ),
491+ (':authority' , 'google.com' ),
492+ (':method' , 'GET' ),
493+ (':scheme' , 'https' ),
494+ (':path' , '' ),
495495 ),
496496 )
497497
498498 # All headers that are forbidden from either request or response blocks.
499499 forbidden_request_headers_bytes = (b':status' ,)
500- forbidden_request_headers_unicode = (u ':status' ,)
500+ forbidden_request_headers_unicode = (':status' ,)
501501 forbidden_response_headers_bytes = (
502502 b':path' , b':scheme' , b':authority' , b':method'
503503 )
504504 forbidden_response_headers_unicode = (
505- u ':path' , u ':scheme' , u ':authority' , u ':method'
505+ ':path' , ':scheme' , ':authority' , ':method'
506506 )
507507
508508 @pytest .mark .parametrize ('validation_function' , validation_functions )
0 commit comments