summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2019-01-26 10:51:29 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2019-02-20 18:27:10 +0000
commit4fa56fe2f8618f5fbc47ec21ac033d5e7ac2790d (patch)
tree193b59ca73e7c7a512ec7517320cd8cda57e533d /tests
parentd07cceb13e13cfe806c37527e602cde0789ea8c3 (diff)
downloadgem5-4fa56fe2f8618f5fbc47ec21ac033d5e7ac2790d.tar.xz
python: Add __bool__ helpers in addition to __nonzero__
Python 3 uses __bool__ instead of __nonzero__ when performing a Boolean comparison. Change-Id: I85185bbe136ecae67346fa23569e24edd7329222 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/15996 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions