summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2020-03-11 19:56:52 -0400
committerJordan Wiens <jordan@psifertex.com>2020-03-11 19:56:52 -0400
commitf4452afa1256df800b28e69d5c73ede55d3c4a51 (patch)
tree13456d51e29f54a84be3980de30a7adc4c42491f
parent53c08c119e1269822b0ace389e26b1172c419871 (diff)
use repr instead of str for unit tests now that str exists
-rw-r--r--suite/testcommon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/suite/testcommon.py b/suite/testcommon.py
index 65ddf57e..ea0df719 100644
--- a/suite/testcommon.py
+++ b/suite/testcommon.py
@@ -403,9 +403,9 @@ class BinaryViewTestBuilder(Builder):
retinfo.append("Session Data: " + str(self.bv.session_data))
for var in map(hex, sorted(self.bv.data_vars.keys())):
retinfo.append("BV data var: " + var)
- retinfo.append("BV Entry function: " + str(self.bv.entry_function))
+ retinfo.append("BV Entry function: " + repr(self.bv.entry_function))
for i in self.bv:
- retinfo.append("BV function: " + str(i))
+ retinfo.append("BV function: " + repr(i))
retinfo.append("BV entry point: " + hex(self.bv.entry_point))
retinfo.append("BV start: " + hex(self.bv.start))
retinfo.append("BV length: " + hex(len(self.bv)))