#NEWLINE# def test_basic_error( ) : #NEWLINE# #INDENT# env = dict ( copy . deepcopy ( env1 ) ) #NEWLINE# env [ 'wsgi.input' ] = BytesIO ( to_bytes ( ( 'a' * 20 ) ) ) #NEWLINE# env [ 'CONTENT_LENGTH' ] = '20a' #NEWLINE# req = Request ( env ) #NEWLINE# assert ( req . content_length == 0 )