diff options
-rw-r--r-- | debug/testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index cfb31a3..1f023f0 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -1310,7 +1310,7 @@ def assertLess(a, b, comment=None): def assertTrue(a): if not a: - raise TestFailed(f"{a!r} is not True" % a) + raise TestFailed(f"{a!r} is not True", a) def assertRegex(text, regexp): if not re.search(regexp, text): |