Support telling TestResult objects a test run has finished #49978
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee = None closed_at = <Date 2009-05-02.22:44:44.498> created_at = <Date 2009-04-09.12:15:23.264> labels = ['library'] title = 'Support telling TestResult objects a test run has finished' updated_at = <Date 2009-05-02.22:44:44.453> user = 'https://github.com/rbtcollins'
activity = <Date 2009-05-02.22:44:44.453> actor = 'michael.foord' assignee = 'none' closed = True closed_date = <Date 2009-05-02.22:44:44.498> closer = 'michael.foord' components = ['Library (Lib)'] creation = <Date 2009-04-09.12:15:23.264> creator = 'rbcollins' dependencies =  files = ['13669', '13709'] hgrepos =  issue_num = 5728 keywords = ['patch'] message_count = 10.0 messages = ['85812', '85813', '85815', '85823', '85841', '86005', '86007', '86011', '86052', '86987'] nosy_count = 5.0 nosy_names = ['barry', 'rbcollins', 'michael.foord', 'olemis', 'dgou'] pr_nums =  priority = 'normal' resolution = None stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue5728' versions = ['Python 3.1', 'Python 2.7']
The text was updated successfully, but these errors were encountered:
Some uses for this are:
This can be added quite safely I think - check for the attribute, and if
done() could be spelt differently - I don't think anyone would care.
Now, some refinements, as usual (for me at least) when considering a
Firstly, I said you can infer starting. But its asymmetrical to have a
Secondly, TestCase.run(None) creates a result. I think it would be good
"Whomever calls 'start' is responsible for calling 'done'." Concretely
Thirdly, naming. I'm agnostic, but I'd lean towards something clear, and
If this all makes sense, I'll write up some tests and put a patch
On Apr 15, 2009, at 7:43 PM, Robert Collins wrote: