def report_missing(dir, flist):
 globstr = os.path.join(dir, '*.py')
 fnames = glob.glob(globstr)
 pyfiles = {os.path.split(fullpath)[(-1)] for fullpath in set(fnames)}
 exclude = set(excluded.get(dir, []))
 flist = set(flist)
 missing = list(((pyfiles - flist) - exclude))
 if missing:
  print(('%s files not tested: %s' % (dir, ', '.join(sorted(missing)))))

def report_missing ( dir , flist ) : globstr = os . path . join ( dir , '*.py' ) fnames = glob . glob ( globstr ) pyfiles = { os . path . split ( fullpath ) [ ( - 1 ) ] for fullpath in set ( fnames ) } exclude = set ( excluded . get ( dir , [ ] ) ) flist = set ( flist ) missing = list ( ( ( pyfiles - flist ) - exclude ) ) if missing : print ( ( '%s files not tested: %s' % ( dir , ', ' . join ( sorted ( missing ) ) ) ) )
report the py files in dir that are not in flist .