diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2017-11-28 03:04:44 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2017-11-28 03:04:44 +0000 |
commit | e0ce35ef72d66613cb65223254d3a7214eaead47 (patch) | |
tree | 869a64e7abf6d77318b11253a5ea7896b2fc2782 /tests | |
parent | db0c081d0347f84248d295a1f3eb1b2378a38dff (diff) | |
parent | dfc9932f27b003c8cd428f29c1910bf17902bd81 (diff) | |
download | psycopg2-e0ce35ef72d66613cb65223254d3a7214eaead47.tar.gz |
Merge remote-tracking branch 'jdufresne/skip-before'
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_module.py | 4 | ||||
-rwxr-xr-x | tests/test_types_basic.py | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/test_module.py b/tests/test_module.py index d2b1367..4a4941c 100755 --- a/tests/test_module.py +++ b/tests/test_module.py @@ -26,7 +26,7 @@ import os import sys from subprocess import Popen -from testutils import (unittest, skip_before_python, skip_before_postgres, +from testutils import (unittest, skip_before_postgres, ConnectingTestCase, skip_copy_if_green, script_to_py3, slow) import psycopg2 @@ -276,7 +276,6 @@ class ExceptionsTestCase(ConnectingTestCase): self.assertEqual(e.diag.constraint_name, "chk_eq1") self.assertEqual(e.diag.datatype_name, None) - @skip_before_python(2, 5) def test_pickle(self): import pickle cur = self.conn.cursor() @@ -291,7 +290,6 @@ class ExceptionsTestCase(ConnectingTestCase): self.assertEqual(e.pgcode, e1.pgcode) self.assert_(e1.cursor is None) - @skip_before_python(2, 5) def test_pickle_connection_error(self): # segfaults on psycopg 2.5.1 - see ticket #170 import pickle diff --git a/tests/test_types_basic.py b/tests/test_types_basic.py index 9486858..8d624c1 100755 --- a/tests/test_types_basic.py +++ b/tests/test_types_basic.py @@ -272,7 +272,6 @@ class TypesBasicTests(ConnectingTestCase): o2 = self.execute("select %s;", (o1,)) self.assertEqual(memoryview, type(o2[0])) - @testutils.skip_before_python(2, 6) def testAdaptBytearray(self): o1 = bytearray(range(256)) o2 = self.execute("select %s;", (o1,)) |