summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/data-formatter
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-10-26 16:50:39 +0000
committerZachary Turner <zturner@google.com>2015-10-26 16:50:39 +0000
commit210eb970de7fa9531f844e72074d1db662ff2b1e (patch)
tree3c3e98a4f20962283c43150a1d8e6bc57bc30b27 /lldb/test/functionalities/data-formatter
parent744cd5d8ed9c46dc05718c9cf598a1a4f29ef8ff (diff)
downloadbcm5719-llvm-210eb970de7fa9531f844e72074d1db662ff2b1e.tar.gz
bcm5719-llvm-210eb970de7fa9531f844e72074d1db662ff2b1e.zip
Convert deprecated unittest method names.
Plural methods were long deprecated, and in Python 3 they are gone. Convert to the actual supported method names. llvm-svn: 251303
Diffstat (limited to 'lldb/test/functionalities/data-formatter')
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
index a82ff66798f..65f0f5c12ea 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
@@ -35,7 +35,7 @@ class LibcxxListDataFormatterTestCase(TestBase):
process = target.LaunchSimple(None, None, self.get_process_working_directory())
lldbutil.skip_if_library_missing(self, target, lldbutil.PrintableRegex("libc\+\+"))
self.assertTrue(process and process.IsValid(), PROCESS_IS_VALID)
- self.assertEquals(len(lldbutil.get_threads_stopped_at_breakpoint(process, breakpoint1)), 1)
+ self.assertEqual(len(lldbutil.get_threads_stopped_at_breakpoint(process, breakpoint1)), 1)
# verify our list is displayed correctly
self.expect("frame variable *numbers_list", substrs=['[0] = 1', '[1] = 2', '[2] = 3', '[3] = 4', '[5] = 6'])
@@ -43,7 +43,7 @@ class LibcxxListDataFormatterTestCase(TestBase):
# Continue to breakpoint 2.
process.Continue()
self.assertTrue(process and process.IsValid(), PROCESS_IS_VALID)
- self.assertEquals(len(lldbutil.get_threads_stopped_at_breakpoint(process, breakpoint2)), 1)
+ self.assertEqual(len(lldbutil.get_threads_stopped_at_breakpoint(process, breakpoint2)), 1)
# The list is now inconsistent. However, we should be able to get the first three
# elements at least (and most importantly, not crash).
OpenPOWER on IntegriCloud