diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-04-10 00:01:43 -0700 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-04-10 00:01:43 -0700 |
commit | 223c31ce7dd962f43c580c89fa1966939557bc5c (patch) | |
tree | 1ebe6b791741c00c88f9e1dd2813a23c1a084c36 /tests/test_using.py | |
parent | e80cbdc3224297ee57667e4000f1a671af05f520 (diff) | |
parent | 3ee3ec211e8aa78ad3c00e27b1c3965bad85b2ad (diff) | |
download | factory-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.py | 5 |
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 |