#NEWLINE# def test_registered_open_files( ) : #NEWLINE# #INDENT# from dask.bytes.core import open_files #NEWLINE# with filetexts ( files , mode = 'b' ) : #NEWLINE# #INDENT# myfiles = open_files ( '.test.accounts.*' ) #NEWLINE# assert ( len ( file ) == len ( files ) ) #NEWLINE# data = compute ( * [ file . read ( ) for file in myfiles ] ) #NEWLINE# assert ( list ( data ) == [ files [ k ] for k in sorted ( files ) ] )