[lldb/tests] Removed add_test_categories decorator for python API tests, NFC
There is a .categories file in the python_api directory that makes all nested tests belong to the category "pyapi". The decorator is unnecessary for these tests.
This commit is contained in:
@@ -19,7 +19,6 @@ class ModuleAndSectionAPIsTestCase(TestBase):
|
||||
# Py3 asserts due to a bug in SWIG. A fix for this was upstreamed into
|
||||
# SWIG 3.0.8.
|
||||
@skipIf(py_version=['>=', (3, 0)], swig_version=['<', (3, 0, 8)])
|
||||
@add_test_categories(['pyapi'])
|
||||
def test_module_and_section(self):
|
||||
"""Test module and section APIs."""
|
||||
self.build()
|
||||
@@ -71,7 +70,6 @@ class ModuleAndSectionAPIsTestCase(TestBase):
|
||||
symbol_type_to_str(
|
||||
sym.GetType()))
|
||||
|
||||
@add_test_categories(['pyapi'])
|
||||
def test_module_and_section_boundary_condition(self):
|
||||
"""Test module and section APIs by passing None when it expects a Python string."""
|
||||
self.build()
|
||||
@@ -112,7 +110,6 @@ class ModuleAndSectionAPIsTestCase(TestBase):
|
||||
if sec1:
|
||||
sec1.FindSubSection(None)
|
||||
|
||||
@add_test_categories(['pyapi'])
|
||||
def test_module_compile_unit_iter(self):
|
||||
"""Test module's compile unit iterator APIs."""
|
||||
self.build()
|
||||
@@ -140,7 +137,6 @@ class ModuleAndSectionAPIsTestCase(TestBase):
|
||||
for cu in exe_module.compile_unit_iter():
|
||||
print(cu)
|
||||
|
||||
@add_test_categories(['pyapi'])
|
||||
def test_find_compile_units(self):
|
||||
"""Exercise SBModule.FindCompileUnits() API."""
|
||||
d = {'EXE': 'b.out'}
|
||||
|
||||
Reference in New Issue
Block a user