1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[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
This commit is contained in:
Russell Keith-Magee
2010-09-28 08:29:30 +00:00
parent 5277425ae4
commit efa27fc86c
13 changed files with 31 additions and 30 deletions

View File

@@ -1,11 +1,10 @@
from django.test import TestCase
import datetime
import unittest
from django.utils.timesince import timesince, timeuntil
from django.utils.tzinfo import LocalTimezone, FixedOffset
class TimesinceTests(TestCase):
class TimesinceTests(unittest.TestCase):
def setUp(self):
self.t = datetime.datetime(2007, 8, 14, 13, 46, 0)