lp:~florent.x/pyflakes/1097061-unittest2
- Get this branch:
- bzr branch lp:~florent.x/pyflakes/1097061-unittest2
Branch merges
- Pyflakes Dev: Pending requested
-
Diff: 15 lines (+4/-0) (has conflicts)1 file modified.travis.yml (+4/-0)
- Florent (community): Approve (self-review)
- Divmod-dev: Pending requested
- Jean-Paul Calderone: Pending requested
-
Diff: 616 lines (+119/-165)6 files modified.travis.yml (+3/-2)
pyflakes/test/harness.py (+3/-3)
pyflakes/test/test_imports.py (+6/-7)
pyflakes/test/test_other.py (+5/-20)
pyflakes/test/test_script.py (+100/-131)
pyflakes/test/test_undefined_names.py (+2/-2)
Related bugs
Bug #1097061: switch to unittest2 for the test framework | Medium | Fix Released |
|
Related blueprints
Recent revisions
- 44. By Jean-Paul Calderone
-
Add WindowsError as a known built-in name on all platforms, suppressing warnings about it being used but undefined when using pyflakes on a non-Windows platform.
This may suppress legitimate warnings, since using WindowsError in a code path that
will actually be evaluated on a non-Windows platform is invalid. However, it is too
hard for pyflakes to figure out which code paths will run, so trade the lost legitimate
warnings in exchange for also getting rid of some bogus warnings. - 41. By exarkun <exarkun>
-
Merge pyflakes-ast-3005
Author: gbrandl, exarkun
Reviewer: exarkun
Fixes: #3005Convert pyflakes to use the Python 2.5+ _ast module instead of
the older (now essentially unmaintained) compiler package.Introduce a number of new tests for various edge cases previously
untested, as well, since this involved changing substantial chunks
of pyflakes internals.Also add support for certain new constructs which will be added
in Python 2.7, including set comprehensions and dict comprehensions.Because Python 2.4 does not include the _ast module, this change
effectively drops support for running Pyflakes using Python 2.4.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~divmod-dev/pyflakes/trunk