diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-19 18:01:29 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-19 18:01:29 +0000 |
commit | ed3b2188fe1cf088206ad4a00e3369e90aec5a38 (patch) | |
tree | 125bc082bc7eb3a5a1f27abaa3a0d91e9a0c7e47 /tests/testutils.py | |
parent | bbe28ba75f3eb7cfb075f24d6522638fb25348d7 (diff) | |
download | psycopg2-ed3b2188fe1cf088206ad4a00e3369e90aec5a38.tar.gz |
Fixed import of test functions from Python 2.7 unittest.
Diffstat (limited to 'tests/testutils.py')
-rw-r--r-- | tests/testutils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testutils.py b/tests/testutils.py index c047827..fdc5f54 100644 --- a/tests/testutils.py +++ b/tests/testutils.py @@ -12,7 +12,8 @@ except ImportError: unittest2 = None if hasattr(unittest, 'skipIf'): - from unittest2 import skip, skipIf + skip = unittest.skip + skipIf = unittest.skipIf else: import warnings |