Changes between Initial Version and Version 1 of Ticket #19355


Ignore:
Timestamp:
Nov 25, 2012, 5:27:11 AM (12 years ago)
Author:
Julien Phalip
Comment:

Thanks for the report. I've fixed the formatting – please use 'Preview' in the future.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19355

    • Property Triage Stage UnreviewedAccepted
  • Ticket #19355 – Description

    initial v1  
    11In django.test.testcases.LiveServerThread.run a WSGIServerException is caught and the code expects it to have an errno attribute.  However not WSGIServerException is a subclass of Exception and thus not guaranteed to have the errno attribute.  The following short patch avoids this problem:
    22
     3
     4{{{
    35diff --git a/django/test/testcases.py b/django/test/testcases.py
    46index 3bb40a5..ef4c8118 100644
     
    1416                         # the next one in the list.
    1517                         continue
     18}}}
     19
Back to Top