summaryrefslogtreecommitdiff
path: root/tests/test_lobject.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_lobject.py')
-rwxr-xr-xtests/test_lobject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_lobject.py b/tests/test_lobject.py
index 6088b28..8d94656 100755
--- a/tests/test_lobject.py
+++ b/tests/test_lobject.py
@@ -207,7 +207,7 @@ class LargeObjectTests(LargeObjectTestCase):
data1 = lo.read()
# avoid dumping megacraps in the console in case of error
self.assert_(data == data1,
- "{!r}... != {!r}...".format(data[:100], data1[:100]))
+ f"{data[:100]!r}... != {data1[:100]!r}...")
def test_seek_tell(self):
lo = self.conn.lobject()