Loading django/test/testcases.py +2 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,8 @@ class TestCase(unittest.TestCase): self.client = Client() try: self._pre_setup() except (KeyboardInterrupt, SystemExit): raise except Exception: import sys result.addError(self, sys.exc_info()) Loading Loading
django/test/testcases.py +2 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,8 @@ class TestCase(unittest.TestCase): self.client = Client() try: self._pre_setup() except (KeyboardInterrupt, SystemExit): raise except Exception: import sys result.addError(self, sys.exc_info()) Loading