comparison tests/filterpyflakes.py @ 33367:6029939f7e98

filterpyflakes: move self-test into test file This will avoid a false positive on an upcoming check-code rule. Differential Revision: https://phab.mercurial-scm.org/D18
author Augie Fackler <raf@durin42.com>
date Fri, 07 Jul 2017 15:07:36 -0400
parents 50eaccb8353f
children 2372284d9457
comparison
equal deleted inserted replaced
33366:062c1bde1781 33367:6029939f7e98
33 lines.append(line) 33 lines.append(line)
34 34
35 for line in lines: 35 for line in lines:
36 sys.stdout.write(line) 36 sys.stdout.write(line)
37 print() 37 print()
38
39 # self test of "undefined name" detection
40 if False:
41 print(undefinedname)