summaryrefslogtreecommitdiff
path: root/tests/test_using.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_using.py')
-rw-r--r--tests/test_using.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_using.py b/tests/test_using.py
index e6df3c2..fcd3aab 100644
--- a/tests/test_using.py
+++ b/tests/test_using.py
@@ -20,7 +20,10 @@
# THE SOFTWARE.
"""Tests using factory."""
-import unittest
+try:
+ import unittest2 as unittest
+except ImportError:
+ import unittest
import factory