#NEWLINE# def test_not_parquet_file( self ) : #NEWLINE# #INDENT# with tempfile . NamedTemporaryFile ( ) as t : #NEWLINE# #INDENT# t . write ( 'blah' ) #NEWLINE# t . flush ( ) #NEWLINE# self . assertFalse ( parquet . _check_header_magic_bytes ( t ) ) #NEWLINE# self . assertFalse ( parquet . _check_footer_magic_bytes ( t ) )