We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db75a2c commit 36dbf4cCopy full SHA for 36dbf4c
src/base/tests/test_ensure_has_pk.py
@@ -27,8 +27,8 @@ def invariant(self):
27
28
cr.execute(query)
29
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)
+ tables = "\n".join(" - " + t for (t,) in cr.fetchall())
+ msg = "Some tables do not have any primary key:\n{}".format(tables)
32
_logger.critical(msg)
33
if util.on_CI():
34
raise AssertionError(msg)
0 commit comments