From 05d7d6949c7cd3f1566d4c8394fa59160a7ffd05 Mon Sep 17 00:00:00 2001 From: Tatyana Krasnukha Date: Thu, 4 Feb 2021 01:02:31 +0300 Subject: [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. --- lldb/test/API/python_api/module_section/TestModuleAndSection.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lldb/test/API/python_api/module_section/TestModuleAndSection.py') diff --git a/lldb/test/API/python_api/module_section/TestModuleAndSection.py b/lldb/test/API/python_api/module_section/TestModuleAndSection.py index 95d457697e7c..3bb26a283adc 100644 --- a/lldb/test/API/python_api/module_section/TestModuleAndSection.py +++ b/lldb/test/API/python_api/module_section/TestModuleAndSection.py @@ -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'} -- cgit v1.2.3