summaryrefslogtreecommitdiff
path: root/pyflakes/test/__init__.py
diff options
context:
space:
mode:
authorglyph <glyph>2005-10-28 22:06:23 +0000
committerglyph <glyph>2005-10-28 22:06:23 +0000
commitfaa6cc3134190c523860dadeec18f4e061886977 (patch)
tree3c98f1c8c13ab28580dfc712f4c322ad6a85a2fa /pyflakes/test/__init__.py
parentaff85edf0956db034b4abb0646a51cd01dde3308 (diff)
downloadpyflakes-faa6cc3134190c523860dadeec18f4e061886977.tar.gz
re #212 - doesn't resolve anything
This merges forward a whole bunch of useful fixes and tweaks done during development of the 212 branch. No actual functionality related to billing is included. Changes are: - Unused imports removed from lots of places - run method in pyflakes tests renamed to work around trial changes - ClickChronicle's ccapp.py is rewritten as an axiomatic plugin - InstallableMixin added - classes that define installOn should use it
Diffstat (limited to 'pyflakes/test/__init__.py')
-rw-r--r--pyflakes/test/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyflakes/test/__init__.py b/pyflakes/test/__init__.py
index 98a5ced..fe71884 100644
--- a/pyflakes/test/__init__.py
+++ b/pyflakes/test/__init__.py
@@ -5,7 +5,7 @@ import pyflakes
class Test(unittest.TestCase):
- def run(self, input, *expectedOutputs):
+ def flakes(self, input, *expectedOutputs):
w = pyflakes.Checker(compiler.parse(textwrap.dedent(input)))
outputs = [type(o) for o in w.messages]
expectedOutputs = list(expectedOutputs)