Code

Changes between Initial Version and Version 1 of Ticket #19355


Ignore:
Timestamp:
11/25/12 03:27:11 (20 months ago)
Author:
julien
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19355

    • Property Patch needs improvement unset
    • Property Triage Stage changed from Unreviewed to Accepted
    • Property Needs tests unset
    • Property Needs documentation unset
  • 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