diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2017-02-06 21:09:37 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2017-02-06 21:40:05 +0000 |
commit | 7b11b959089b39012d287b6d3969f6f2a66046b6 (patch) | |
tree | f24780a263ca769c1cc5c273c8ebc1899e3df14f | |
parent | 7f593d5eb0823c9d0c7dd93a404a73e6bc9610c2 (diff) | |
download | psycopg2-test-dinosaurs.tar.gz |
Skipped a couple of tests failing on old dbstest-dinosaurs
I don't even know why - worth investigating.
-rwxr-xr-x | tests/test_fast_executemany.py | 1 | ||||
-rwxr-xr-x | tests/test_quote.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_fast_executemany.py b/tests/test_fast_executemany.py index 6c69047..ad7a5b1 100755 --- a/tests/test_fast_executemany.py +++ b/tests/test_fast_executemany.py @@ -96,6 +96,7 @@ class TestExecuteBatch(FastExecuteTestMixin, testutils.ConnectingTestCase): cur.execute("select id, val from testfast order by id") self.assertEqual(cur.fetchall(), [(i, i * 10) for i in range(25)]) + @testutils.skip_before_postgres(8, 0) def test_unicode(self): cur = self.conn.cursor() ext.register_type(ext.UNICODE, cur) diff --git a/tests/test_quote.py b/tests/test_quote.py index 22d896a..1ced845 100755 --- a/tests/test_quote.py +++ b/tests/test_quote.py @@ -185,6 +185,7 @@ class TestQuotedIdentifier(ConnectingTestCase): self.assertEqual(quote_ident('blah-blah', self.conn), '"blah-blah"') self.assertEqual(quote_ident('quote"inside', self.conn), '"quote""inside"') + @testutils.skip_before_postgres(8, 0) @testutils.skip_before_libpq(9, 0) def test_unicode_ident(self): from psycopg2.extensions import quote_ident |