TextTestRunner uses str(test) which cannot be tweaked easily as it is a descriptor
Bug #938336 reported by
Robert Collins
on 2012-02-22
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| testtools |
Medium
|
Unassigned |
Bug Description
This makes folk question whether testscenarios works (which depends on clone_test_
Robert Collins (lifeless) wrote : | #1 |
Robert Collins (lifeless) wrote : | #2 |
Robert Collins (lifeless) wrote : | #3 |
Changed in testtools: | |
status: | New → Triaged |
importance: | Undecided → High |
Robert Collins (lifeless)
on 2012-10-19
summary: |
- unittest2 uses str(test) not test.id() + TextTestRunner uses str(test) which cannot be tweaked easily as it is a + descriptor |
description: | updated |
Robert Collins (lifeless) wrote : | #4 |
Robert Collins (lifeless)
on 2015-02-01
Changed in testtools: | |
importance: | High → Medium |
Jonathan Lange (jml) wrote : | #5 |
It's not clear to me how this is a bug in testtools, since we don't actually have a TextTestRunner class.
Changed in testtools: | |
status: | Triaged → Incomplete |
To post a comment you must log in.
Note too that because __str__ is privileged, http:// docs.python. org/reference/ datamodel. html#invoking- descriptors will be relevant to fixing this issue. Unless we can get voidspace to revert his change and use a named method.