8000 Fix typo that caused incorrect checking of Postgres server version. · wulczer/txpostgres@b85dd79 · GitHub
[go: up one dir, main page]

Skip to content

Commit b85dd79

Browse files
committed
Fix typo that caused incorrect checking of Postgres server version.
This would cause one of the tests to be skipped on Postgres 8.4.x when in fact that test should work with those versions.
1 parent 2efe142 commit b85dd79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_txpostgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ def test_terminatedConnection(self):
700700
"""
701701
# this tests uses pg_terminate_backend, so it only works on PostgreSQL
702702
# 8.4+ and if the user running the tests is a superuser.
703-
if self.conn.server_version < 84000:
703+
if self.conn.server_version < 80400:
704704
raise unittest.SkipTest(
705705
"PostgreSQL < 8.4.0 does not have pg_terminate_backend")
706706

0 commit comments

Comments
 (0)
0