diff options
Diffstat (limited to 'lldb/test/API/python_api')
4 files changed, 1 insertions, 12 deletions
diff --git a/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py index d56c5b0..ec5b4da 100644 --- a/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py +++ b/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py @@ -117,8 +117,6 @@ class APIDefaultConstructorTestCase(TestBase): sb_debugger.fuzz_obj(obj) - # darwin: This test passes with swig 3.0.2, fails w/3.0.5 other tests fail - # with 2.0.12 http://llvm.org/pr23488 def test_SBError(self): obj = lldb.SBError() if self.TraceOn(): @@ -225,9 +223,6 @@ class APIDefaultConstructorTestCase(TestBase): sb_listener.fuzz_obj(obj) - # Py3 asserts due to a bug in SWIG. Trying to upstream a patch to fix - # this in 3.0.8 - @skipIf(py_version=[">=", (3, 0)], swig_version=["<", (3, 0, 8)]) def test_SBModule(self): obj = lldb.SBModule() if self.TraceOn(): diff --git a/lldb/test/API/python_api/lldbutil/TestSwigVersion.py b/lldb/test/API/python_api/lldbutil/TestSwigVersion.py index d8fa83b..190f789 100644 --- a/lldb/test/API/python_api/lldbutil/TestSwigVersion.py +++ b/lldb/test/API/python_api/lldbutil/TestSwigVersion.py @@ -21,6 +21,6 @@ class SwigVersionTestCase(TestBase): self.assertTrue(getattr(lldb, "swig_version")) self.assertIsInstance(lldb.swig_version, tuple) self.assertEqual(len(lldb.swig_version), 3) - self.assertGreaterEqual(lldb.swig_version[0], 1) + self.assertGreaterEqual(lldb.swig_version[0], 4) for v in lldb.swig_version: self.assertGreaterEqual(v, 0) diff --git a/lldb/test/API/python_api/module_section/TestModuleAndSection.py b/lldb/test/API/python_api/module_section/TestModuleAndSection.py index 1e30a28..8a83740 100644 --- a/lldb/test/API/python_api/module_section/TestModuleAndSection.py +++ b/lldb/test/API/python_api/module_section/TestModuleAndSection.py @@ -10,9 +10,6 @@ from lldbsuite.test.lldbutil import symbol_type_to_str 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)]) def test_module_and_section(self): """Test module and section APIs.""" self.build() diff --git a/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py b/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py index 2acba76..2053583 100644 --- a/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py +++ b/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py @@ -20,9 +20,6 @@ class ValueAsLinkedListTestCase(TestBase): # Find the line number to break at. self.line = line_number("main.cpp", "// Break at this line") - # 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)]) def test(self): """Exercise SBValue API linked_list_iter.""" d = {"EXE": self.exe_name} |
