From 03c92201e34cea40b494c4aefb324af100c181ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Fri, 13 Apr 2012 17:52:08 +0200 Subject: Make tests compatible with python2.6 + unittest2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaƫl Barrois --- tests/test_utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/test_utils.py') diff --git a/tests/test_utils.py b/tests/test_utils.py index 2c77c15..6fd6ee2 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -21,13 +21,9 @@ # THE SOFTWARE. -try: - import unittest2 as unittest -except ImportError: - import unittest - from factory import utils +from .compat import unittest class DecLengthCompareTestCase(unittest.TestCase): def test_reciprocity(self): -- cgit v1.2.3