TextTestRunner uses str(test) which cannot be tweaked easily as it is a descriptor

Reported by Robert Collins on 2012-02-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
High
Unassigned

Bug Description

This makes folk question whether testscenarios works (which depends on clone_test_with_new_id) when using the stock TextTestRunner.

Robert Collins (lifeless) wrote :

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.

Robert Collins (lifeless) wrote :
Changed in testtools:
status: New → Triaged
importance: Undecided → High
summary: - unittest2 uses str(test) not test.id()
+ TextTestRunner uses str(test) which cannot be tweaked easily as it is a
+ descriptor
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.