summaryrefslogtreecommitdiff
path: root/tests/testutils.py
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2020-11-18 18:09:08 +0200
committerHugo van Kemenade <hugovk@users.noreply.github.com>2020-11-18 18:09:08 +0200
commitc3b65d63b6b5543024aee961ec33e1f456b75eab (patch)
treea96d37ccab31c5542562bde41d1c0f2c118d79d4 /tests/testutils.py
parent8d7f660309c8be0fb0b50439c335b89d5b31878d (diff)
downloadpsycopg2-c3b65d63b6b5543024aee961ec33e1f456b75eab.tar.gz
Upgrade f-strings with flynt -a and remove int()
Diffstat (limited to 'tests/testutils.py')
-rw-r--r--tests/testutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutils.py b/tests/testutils.py
index 007fda2..865416c 100644
--- a/tests/testutils.py
+++ b/tests/testutils.py
@@ -309,7 +309,7 @@ def skip_before_libpq(*ver):
v = libpq_version()
decorator = unittest.skipIf(
v < int("%d%02d%02d" % ver),
- "skipped because libpq %d" % v,
+ f"skipped because libpq {v}",
)
return decorator(cls)
return skip_before_libpq_