From f4452afa1256df800b28e69d5c73ede55d3c4a51 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Wed, 11 Mar 2020 19:56:52 -0400 Subject: use repr instead of str for unit tests now that str exists --- suite/testcommon.py | 4 ++-- 1 file 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))) -- cgit v1.3.1