diff options
author | Tim Newsome <tim@sifive.com> | 2022-07-22 10:31:44 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2022-07-22 10:31:44 -0700 |
commit | 74a62ef0f3eefa759c1c49ae1c756879232f96da (patch) | |
tree | b76d119d0c078d25792e51a79ef7640322767961 /debug | |
parent | c1b75177a7bd0932aaa95f1a369b6c3e68cacdee (diff) | |
download | riscv-tests-74a62ef0f3eefa759c1c49ae1c756879232f96da.zip riscv-tests-74a62ef0f3eefa759c1c49ae1c756879232f96da.tar.gz riscv-tests-74a62ef0f3eefa759c1c49ae1c756879232f96da.tar.bz2 |
Fix string formatting in testlib.assertTrue()
Diffstat (limited to 'debug')
-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): |