diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-09-28 08:29:30 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-09-28 08:29:30 +0000 |
| commit | efa27fc86cff473c5ca5c0d48bcd264c99d9fd47 (patch) | |
| tree | 0a4196c3546e9ba084e82073bf0dbade4bdc3bbc /tests/regressiontests/utils/datetime_safe.py | |
| parent | 5277425ae454da282edfd4322b3a282458c410e2 (diff) | |
[1.2.X] A few test optimizations; using native unittest where no Django-specific TestCase features are required.
Backport of r13935 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/utils/datetime_safe.py')
| -rw-r--r-- | tests/regressiontests/utils/datetime_safe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/utils/datetime_safe.py b/tests/regressiontests/utils/datetime_safe.py index 62b9c7481f..458a6b79f8 100644 --- a/tests/regressiontests/utils/datetime_safe.py +++ b/tests/regressiontests/utils/datetime_safe.py @@ -1,9 +1,9 @@ -from django.test import TestCase +import unittest from datetime import date as original_date, datetime as original_datetime from django.utils.datetime_safe import date, datetime -class DatetimeTests(TestCase): +class DatetimeTests(unittest.TestCase): def setUp(self): self.just_safe = (1900, 1, 1) |
