diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2012-04-13 17:52:08 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2012-04-15 10:06:39 +0200 |
commit | 03c92201e34cea40b494c4aefb324af100c181ea (patch) | |
tree | 1172dc59532035b9e7769321293a838de6a2a81a /tests/test_using.py | |
parent | 3ba8ed544fa9e866f97efc41155ee296f022e9b4 (diff) | |
download | factory-boy-03c92201e34cea40b494c4aefb324af100c181ea.tar factory-boy-03c92201e34cea40b494c4aefb324af100c181ea.tar.gz |
Make tests compatible with python2.6 + unittest2
Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Diffstat (limited to 'tests/test_using.py')
-rw-r--r-- | tests/test_using.py | 5 |
1 files changed, 1 insertions, 4 deletions
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): |