#NEWLINE# @ pytest . mark . parametrize ( 'fmt' , list ( seekable_files ) ) #NEWLINE# def test_getsize( fmt ) : #NEWLINE# #INDENT# compress = compression . compress [ fmt ] #NEWLINE# with filetexts ( { #NEWLINE# #INDENT# '.tmp.getsize' : compress ( b'1234567890' ) , #NEWLINE# #UNINDENT# } , mode = 'b' ) : #NEWLINE# #INDENT# assert ( getsize ( '.tmp.getsize' , fmt ) == 10 )