summaryrefslogtreecommitdiff
path: root/tests/test_using.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2012-04-10 00:01:43 -0700
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2012-04-10 00:01:43 -0700
commit223c31ce7dd962f43c580c89fa1966939557bc5c (patch)
tree1ebe6b791741c00c88f9e1dd2813a23c1a084c36 /tests/test_using.py
parente80cbdc3224297ee57667e4000f1a671af05f520 (diff)
parent3ee3ec211e8aa78ad3c00e27b1c3965bad85b2ad (diff)
downloadfactory-boy-223c31ce7dd962f43c580c89fa1966939557bc5c.tar
factory-boy-223c31ce7dd962f43c580c89fa1966939557bc5c.tar.gz
Merge pull request #9 from kmike/test-improvements
Test running improvements
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