Lines Matching refs:fn
30 fn = "example.py"
31 tree = dr.parse_file(fn, debug=True)
32 if not diff(fn, tree):
44 fn = mod.__file__
45 if fn.endswith(".pyc"):
46 fn = fn[:-1]
47 if not fn.endswith(".py"):
49 print("Parsing", fn, file=sys.stderr)
50 tree = dr.parse_file(fn, debug=True)
51 if diff(fn, tree):
52 problems.append(fn)
65 fn = os.path.join(dir, name)
67 tree = dr.parse_file(fn, debug=True)
71 if diff(fn, tree):
72 problems.append(fn)
79 for fn in problems:
80 print("***", fn)
82 def diff(fn, tree): argument
89 return os.system("diff -u %s @" % fn)