TextTestRunner uses str(test) which cannot be tweaked easily as it is a descriptor
Bug #938336 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Incomplete
|
Medium
|
Unassigned |
Bug Description
This makes folk question whether testscenarios works (which depends on clone_test_
summary: |
- unittest2 uses str(test) not test.id() + TextTestRunner uses str(test) which cannot be tweaked easily as it is a + descriptor |
description: | updated |
Changed in testtools: | |
importance: | High → Medium |
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.