Skip to content

Commit

Permalink
Remove superfluous int in conftest files
Browse files Browse the repository at this point in the history
  • Loading branch information
tlocke committed Sep 14, 2024
1 parent 9e62f81 commit a8c9da9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/dbapi/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ def pg_version(cursor):
retval = cursor.fetchall()
version = retval[0][0]
major = parse_server_version(version)
return int(major)
return major
2 changes: 1 addition & 1 deletion test/native/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ def pg_version(con):
retval = con.run("select current_setting('server_version')")
version = retval[0][0]
major = parse_server_version(version)
return int(major)
return major

0 comments on commit a8c9da9

Please sign in to comment.