mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 10:23:43 +03:00
Skip the tests according to the earliest of libpq built/linked.
This commit is contained in:
parent
26bd5df048
commit
a5382d7b72
|
@ -313,7 +313,7 @@ def libpq_version():
|
|||
import psycopg2
|
||||
v = psycopg2.__libpq_version__
|
||||
if v >= 90100:
|
||||
v = psycopg2.extensions.libpq_version()
|
||||
v = min(v, psycopg2.extensions.libpq_version())
|
||||
return v
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user