summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/module_section/TestModuleAndSection.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/python_api/module_section/TestModuleAndSection.py')
-rw-r--r--lldb/test/API/python_api/module_section/TestModuleAndSection.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/API/python_api/module_section/TestModuleAndSection.py b/lldb/test/API/python_api/module_section/TestModuleAndSection.py
index 8a83740b0673..96b53563d5df 100644
--- a/lldb/test/API/python_api/module_section/TestModuleAndSection.py
+++ b/lldb/test/API/python_api/module_section/TestModuleAndSection.py
@@ -17,7 +17,7 @@ class ModuleAndSectionAPIsTestCase(TestBase):
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)
- self.assertTrue(target.GetNumModules() > 0)
+ self.assertGreater(target.GetNumModules(), 0)
# Hide stdout if not running with '-t' option.
if not self.TraceOn():
@@ -62,7 +62,7 @@ class ModuleAndSectionAPIsTestCase(TestBase):
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)
- self.assertTrue(target.GetNumModules() > 0)
+ self.assertGreater(target.GetNumModules(), 0)
# Hide stdout if not running with '-t' option.
if not self.TraceOn():
@@ -102,7 +102,7 @@ class ModuleAndSectionAPIsTestCase(TestBase):
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)
- self.assertTrue(target.GetNumModules() > 0)
+ self.assertGreater(target.GetNumModules(), 0)
# Hide stdout if not running with '-t' option.
if not self.TraceOn():