summaryrefslogtreecommitdiff
path: root/tests/test_fast_executemany.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_fast_executemany.py')
-rwxr-xr-xtests/test_fast_executemany.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/test_fast_executemany.py b/tests/test_fast_executemany.py
index 94e5c3e..f1e88b2 100755
--- a/tests/test_fast_executemany.py
+++ b/tests/test_fast_executemany.py
@@ -134,6 +134,7 @@ class TestExecuteBatch(FastExecuteTestMixin, testutils.ConnectingTestCase):
self.assertEqual(cur.fetchone(), (3, snowman))
+@testutils.skip_before_postgres(8, 2)
class TestExecuteValues(FastExecuteTestMixin, testutils.ConnectingTestCase):
def test_empty(self):
cur = self.conn.cursor()
@@ -251,10 +252,6 @@ class TestExecuteValues(FastExecuteTestMixin, testutils.ConnectingTestCase):
self.assertEqual(cur.fetchall(), [(1, 'hi')])
-testutils.decorate_all_tests(TestExecuteValues,
- testutils.skip_before_postgres(8, 2))
-
-
def test_suite():
return unittest.TestLoader().loadTestsFromName(__name__)