summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/default-constructor/sb_breakpoint.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-10-26 16:51:20 +0000
committerZachary Turner <zturner@google.com>2015-10-26 16:51:20 +0000
commitda3dea612249f90218b6112ea18e574662367594 (patch)
tree5d5dbebb1db5b59fd9f25700c636634a6a98d867 /lldb/test/python_api/default-constructor/sb_breakpoint.py
parentf67f7e31e7231c488d29a36b31c2725ad86acdb6 (diff)
downloadbcm5719-llvm-da3dea612249f90218b6112ea18e574662367594.tar.gz
bcm5719-llvm-da3dea612249f90218b6112ea18e574662367594.zip
Python3 - Change sys.maxint to sys.maxsize.
Python3 has no analogue to sys.maxint since ints in Python 3 have arbitrary size. However, the distinction was not actually important in any of these cases, and in a few cases using maxint was already a bug to begin with. llvm-svn: 251306
Diffstat (limited to 'lldb/test/python_api/default-constructor/sb_breakpoint.py')
-rw-r--r--lldb/test/python_api/default-constructor/sb_breakpoint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/python_api/default-constructor/sb_breakpoint.py b/lldb/test/python_api/default-constructor/sb_breakpoint.py
index 1efe131bfaa..2c05990edae 100644
--- a/lldb/test/python_api/default-constructor/sb_breakpoint.py
+++ b/lldb/test/python_api/default-constructor/sb_breakpoint.py
@@ -8,8 +8,8 @@ import lldb
def fuzz_obj(obj):
obj.GetID()
obj.ClearAllBreakpointSites()
- obj.FindLocationByAddress(sys.maxint)
- obj.FindLocationIDByAddress(sys.maxint)
+ obj.FindLocationByAddress(sys.maxsize)
+ obj.FindLocationIDByAddress(sys.maxsize)
obj.FindLocationByID(0)
obj.GetLocationAtIndex(0)
obj.SetEnabled(True)
OpenPOWER on IntegriCloud