diff options
author | Zachary Turner <zturner@google.com> | 2015-10-26 16:51:20 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-10-26 16:51:20 +0000 |
commit | da3dea612249f90218b6112ea18e574662367594 (patch) | |
tree | 5d5dbebb1db5b59fd9f25700c636634a6a98d867 /lldb/test/python_api/default-constructor/sb_breakpoint.py | |
parent | f67f7e31e7231c488d29a36b31c2725ad86acdb6 (diff) | |
download | bcm5719-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.py | 4 |
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) |