Skip to content

Commit 36dbf4c

Browse files
committed
[chore] Fix typo + ruff
closes #163 Signed-off-by: Christophe Simonis (chs) <[email protected]>
1 parent db75a2c commit 36dbf4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base/tests/test_ensure_has_pk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def invariant(self):
2727

2828
cr.execute(query)
2929
if cr.rowcount:
30-
tables = "\n".join(" - %s" % t for (t,) in cr.fetchall())
31-
msg = "Some tables doesn't have any primary key:\n{}".format(tables)
30+
tables = "\n".join(" - " + t for (t,) in cr.fetchall())
31+
msg = "Some tables do not have any primary key:\n{}".format(tables)
3232
_logger.critical(msg)
3333
if util.on_CI():
3434
raise AssertionError(msg)

0 commit comments

Comments
 (0)