mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
Fixed check for pg_sleep availability in tests
The function is available since PG 8.2.
This commit is contained in:
parent
48588e5f69
commit
8e1257d7d0
|
@ -77,7 +77,7 @@ def skip_if_no_pg_sleep(name):
|
|||
if callable(cnn):
|
||||
cnn = cnn()
|
||||
|
||||
if cnn.server_version < 80100:
|
||||
if cnn.server_version < 80200:
|
||||
return self.skipTest(
|
||||
"server version %s doesn't support pg_sleep"
|
||||
% cnn.server_version)
|
||||
|
|
Loading…
Reference in New Issue
Block a user