I updated the Python issue to ask whether or not there's consensus to make 
the change there. Even if that issue proceeds, I guess it would be a nice 
convenience for current versions of Python that won't receive the change.
http://bugs.python.org/issue22431

On Tuesday, September 20, 2016 at 8:16:27 PM UTC-4, Chris Jerdonek wrote:
>
> Hi, I would like to reopen the following issue from two years ago to 
> change the test name in Django's test output from unittest's default to the 
> full "dotted name":
>
> https://code.djangoproject.com/ticket/23332
>
> This would make rerunning failing tests easier because then the test name 
> could simply be copy and pasted from the command-line as is.
>
> Tim told me that to reopen the issue, it needed to be discussed on this 
> list first and consensus reached. See Tim's comment (as well as some of my 
> reasoning for why I think the issue should be reopened) here:
>
> https://code.djangoproject.com/ticket/27255
>
> I put together a patch here with tests so you can see the PR that I was 
> planning to propose:
>
> https://github.com/cjerdonek/django/commits/dotted-name-test-output
>
> The approach is simply to subclass unittest.TextTestResult and override 
> its getDescription() method to use the dotted name instead of unittest's 
> current, less helpful format. Django already has an example of subclassing 
> TextTestResult with its DebugSQLTextTestResult class.
>
> Thanks,
> --Chris
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/b768f210-97a5-4f4d-b339-c54a5e77960e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to