Chris Calloway added the comment:

> Would it be possible to structure things so that you have tests like 
> test_report(), test_report_partial_closure(), etc?

Yes, I would prefer that structure. I was just being consistent, as you said, 
with the prevailing style of the existing tests. I will provide another patch 
with tests separated into report method concerns as you suggest and I agree.

> Also, is there any reason you need to be using a regular expression as 
> opposed to an exact string match?

Yes, the setUp method uses tempfile-generated directory names (and that's 
actually one of the few good things about the existing tests). The 
tempfile-generated directory names are part of the report method output and are 
not known in advance. So we cannot construct an exact string match in advance.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15518>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to