summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils/tests.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-02-13 14:06:13 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-02-13 14:06:13 +0000
commitd751f2cade81b6a8cf325ab5dd081c015f727ef3 (patch)
treeddc367c04b84f2e8c7aa1eb7c0078deaa8740959 /tests/regressiontests/utils/tests.py
parent1d9bc59534fd765f8ae1aeb4ca039899bc2b452b (diff)
[1.1.X] Fixed #12524 -- Clarified handling of pre-1000AD dates in datetime_safe (and thus, the serializers). Patch includes moving the datetime_safe tests into the utils regressiontests module. Thanks to gsf for the report and initial patch.
Backport of r12423 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/utils/tests.py')
-rw-r--r--tests/regressiontests/utils/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/regressiontests/utils/tests.py b/tests/regressiontests/utils/tests.py
index aaa2944511..812276b554 100644
--- a/tests/regressiontests/utils/tests.py
+++ b/tests/regressiontests/utils/tests.py
@@ -10,6 +10,7 @@ from django.utils.functional import SimpleLazyObject
import timesince
import datastructures
import dateformat
+import datetime_safe
import itercompat
from decorators import DecoratorFromMiddlewareTests
from functional import FunctionalTestCase
@@ -25,6 +26,7 @@ except NameError:
__test__ = {
'timesince': timesince,
'datastructures': datastructures,
+ 'datetime_safe': datetime_safe,
'itercompat': itercompat,
}