From efa27fc86cff473c5ca5c0d48bcd264c99d9fd47 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 28 Sep 2010 08:29:30 +0000 Subject: [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 --- tests/regressiontests/utils/functional.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/regressiontests/utils/functional.py') diff --git a/tests/regressiontests/utils/functional.py b/tests/regressiontests/utils/functional.py index 72610154d8..206a5838b5 100644 --- a/tests/regressiontests/utils/functional.py +++ b/tests/regressiontests/utils/functional.py @@ -1,9 +1,9 @@ -from unittest import TestCase +import unittest from django.utils.functional import lazy -class FunctionalTestCase(TestCase): +class FunctionalTestCase(unittest.TestCase): def test_lazy(self): t = lazy(lambda: tuple(range(3)), list, tuple) for a, b in zip(t(), range(3)): -- cgit v1.3