TestLoader in Python 2.7 expects load_tests with incompatible signature
Bug #607412 reported by
Martin Packman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
In bzrlib.
load_tests should be defined like so:
>>> def load_tests(
>>> pass
The Python 2.7 unittest includes a similar addition, that unfortunately has a different and incompatible signature:
<http://
def load_tests(loader, tests, pattern):
...
Changed in bzr: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: |
added: python27 removed: python2.7 |
tags: | added: check-for-breezy |
To post a comment you must log in.
AARGGGGH
I didn't realise he messed up the protocol. Sigh. /cry