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_using.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/test_using.py') diff --git a/tests/test_using.py b/tests/test_using.py index fcd3aab..a3cf89c 100644 --- a/tests/test_using.py +++ b/tests/test_using.py @@ -20,13 +20,10 @@ # THE SOFTWARE. """Tests using factory.""" -try: - import unittest2 as unittest -except ImportError: - import unittest import factory +from .compat import unittest class TestObject(object): -- cgit v1.2.3