Michele Orrù <maker...@gmail.com> added the comment:

It is possible to retrieve the current module using _normalize_module(None), or 
instead use the test name (dt_test.name) just like in 
DocTestCase.shortDescription.

Since there is no doc about it, IMHO we should use unittest's standard as 
guideline, which is: 
shortDescription()
 Returns a description of the test, or None if no description has been   
 provided. The default implementation of this method returns the first 
 line of the test method’s docstring, if available, or None.
(i.e., DocTestCase._dt_test.name)

What's your opinion?

----------
nosy: +maker

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

Reply via email to