summaryrefslogtreecommitdiff
path: root/django/test/testcases.py
diff options
context:
space:
mode:
authorPaul McMillan <Paul@McMillan.ws>2010-06-30 23:34:39 +0000
committerPaul McMillan <Paul@McMillan.ws>2010-06-30 23:34:39 +0000
commit154808166afba5a3fd3532423df58cd366f2ea06 (patch)
treef83e23ee2f282ab2b68126aff73cf0f33fabf5ee /django/test/testcases.py
parent2ca92d49f84e26972c967488b88a2d4c32a041b2 (diff)
[soc2010/test-refactor] Provisional unittest2 support. Currently requires unittest2 to be in the pythonpath. The test_client_regress fix cleans up error checking to be less brittle (and pass with unittest2).
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/test/testcases.py')
-rw-r--r--django/test/testcases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/testcases.py b/django/test/testcases.py
index 276d1f3c41..224dbc5b23 100644
--- a/django/test/testcases.py
+++ b/django/test/testcases.py
@@ -1,5 +1,5 @@
import re
-import unittest
+import unittest2 as unittest
from urlparse import urlsplit, urlunsplit
from xml.dom.minidom import parseString, Node