summaryrefslogtreecommitdiff
path: root/tests/test_quote.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_quote.py')
-rwxr-xr-xtests/test_quote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_quote.py b/tests/test_quote.py
index ee72350..c14d80c 100755
--- a/tests/test_quote.py
+++ b/tests/test_quote.py
@@ -90,7 +90,7 @@ class QuotingTestCase(ConnectingTestCase):
else:
res = curs.fetchone()[0].tobytes()
- if res[0] in (b'x', ord(b'x')) and self.conn.server_version >= 90000:
+ if res[0] in (b'x', ord(b'x')) and self.conn.info.server_version >= 90000:
return self.skipTest(
"bytea broken with server >= 9.0, libpq < 9")