diff options
author | Tim Newsome <tim@sifive.com> | 2017-11-19 20:54:14 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2017-11-19 20:54:14 -0800 |
commit | 8e0f6a0b1a33d35f2248628af7333ede093341d0 (patch) | |
tree | 7378eb90594b13f19c834133fadb307238941e21 /debug/testlib.py | |
parent | 3714cacfdd8f1a20f58e7e217e1d737cecdf5340 (diff) | |
download | riscv-tests-8e0f6a0b1a33d35f2248628af7333ede093341d0.zip riscv-tests-8e0f6a0b1a33d35f2248628af7333ede093341d0.tar.gz riscv-tests-8e0f6a0b1a33d35f2248628af7333ede093341d0.tar.bz2 |
Make pylint happy.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index b19eafc..90702bf 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -836,8 +836,9 @@ class ExamineTarget(GdbTest): raise TestFailed("Couldn't determine XLEN from $misa (0x%x)" % self.hart.misa) - if (misa_xlen != hart.xlen): - raise TestFailed("MISA reported XLEN of %d but we were expecting XLEN of %d\n" % (misa_xlen, hart.xlen)) + if misa_xlen != hart.xlen: + raise TestFailed("MISA reported XLEN of %d but we were "\ + "expecting XLEN of %d\n" % (misa_xlen, hart.xlen)) txt += ("%d" % misa_xlen) |