summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2019-02-16 22:56:44 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2019-02-16 22:57:16 +0100
commit6bbfce7b896a96d9f25906936faf1572432e751e (patch)
tree174a8f023453902b37375c9b6a236e1377298ab3 /tests
parent1dd8c7435f6ff3643261478ab281e72b2fd425d4 (diff)
downloadpsycopg2-6bbfce7b896a96d9f25906936faf1572432e751e.tar.gz
Skip password encryption test if libpq < 10
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_connection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_connection.py b/tests/test_connection.py
index e450883..e3753f9 100755
--- a/tests/test_connection.py
+++ b/tests/test_connection.py
@@ -1432,6 +1432,7 @@ class TestEncryptPassword(ConnectingTestCase):
scope=self.conn, algorithm='md5'),
'md594839d658c28a357126f105b9cb14cfc')
+ @skip_before_libpq(10)
@skip_before_postgres(10)
def test_encrypt_server(self):
cur = self.conn.cursor()