Ticket #21227: selenium_10054_aa1abb5f1e47e23a5aa9b56824c1e9bcf34e260d.patch

File selenium_10054_aa1abb5f1e47e23a5aa9b56824c1e9bcf34e260d.patch, 716 bytes (added by tkhyn, 5 years ago)
  • django/test/testcases.py

    diff -r f4aba67ee8ac -r 89c1597abe4f django/test/testcases.py
    a b  
    10341034            try:
    10351035                self.process_request(request, client_address)
    10361036            except Exception:
    1037                 self.handle_error(request, client_address)
     1037                if not hasattr(self, 'ignore_errors'):
     1038                    # setting _ignore_errors on shutdown prevents unwanted 10054
     1039                    # errors from being logged in the console in some environments
     1040                    self.handle_error(request, client_address)
    10381041                self.close_request(request)
    10391042
    10401043
Back to Top