def t_KEGG_Compound(testfiles):
 for file in testfiles:
  fh = open(os.path.join('KEGG', file))
  print((('Testing Bio.KEGG.Compound on ' + file) + '\n\n'))
  records = Compound.parse(fh)
  for record in records:
   print(record)
  print('\n')
  fh.close()

def t_KEGG_Compound ( testfiles ) : for file in testfiles : fh = open ( os . path . join ( 'KEGG' , file ) ) print ( ( ( 'Testing Bio.KEGG.Compound on ' + file ) + '\n\n' ) ) records = Compound . parse ( fh ) for record in records : print ( record ) print ( '\n' ) fh . close ( )
tests bio .