#NEWLINE# def write_test_files( test_dir , names = None ) : #NEWLINE# #INDENT# 'Write test files in test_dir using the names list.' #NEWLINE# names = ( names or range ( 10 ) ) #NEWLINE# for i in names : #NEWLINE# #INDENT# with open ( os . path . join ( test_dir , str ( i ) ) , 'wb' ) as out : #NEWLINE# #INDENT# out . write ( '' . encode ( 'UTF-8' ) )