aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2022-09-06 08:57:28 -0700
committerStella Stamenova <stilis@microsoft.com>2022-09-06 08:57:28 -0700
commitbd323e42c84476f26bd2f8447f0b0f0dfc204bcb (patch)
treebbfeaee107932746fdaf4a17ce8c710b031ef9b3 /lldb/test/API/python_api
parenta7c6cdc5cfee84726fbae9b9be8e4cd07698ce77 (diff)
downloadllvm-bd323e42c84476f26bd2f8447f0b0f0dfc204bcb.zip
llvm-bd323e42c84476f26bd2f8447f0b0f0dfc204bcb.tar.gz
llvm-bd323e42c84476f26bd2f8447f0b0f0dfc204bcb.tar.bz2
Revert "[lldb][bindings] Fix module_access handling of regex"
This reverts commit 75f05fccbbdd91393bdc7b6183b9dd2b1e859f8e. This commit broke the windows lldb bot: https://lab.llvm.org/buildbot/#/builders/83/builds/23284
Diffstat (limited to 'lldb/test/API/python_api')
-rw-r--r--lldb/test/API/python_api/target/TestTargetAPI.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/test/API/python_api/target/TestTargetAPI.py b/lldb/test/API/python_api/target/TestTargetAPI.py
index e575f30..0b25144 100644
--- a/lldb/test/API/python_api/target/TestTargetAPI.py
+++ b/lldb/test/API/python_api/target/TestTargetAPI.py
@@ -2,7 +2,6 @@
Test SBTarget APIs.
"""
-import re
import unittest2
import os
import lldb
@@ -517,14 +516,3 @@ class TargetAPITestCase(TestBase):
module = target.GetModuleAtIndex(i)
self.assertTrue(target.IsLoaded(module), "Running the target should "
"have loaded its modules.")
-
- def test_module_subscript_regex(self):
- """Exercise SBTarget.module subscripting with regex."""
- self.build()
- exe = self.getBuildArtifact("a.out")
- target = self.dbg.CreateTarget(exe)
- self.assertTrue(target, VALID_TARGET)
- modules = target.module[re.compile(r"/a[.]out$")]
- self.assertEqual(len(modules), 1)
- exe_mod = modules[0]
- self.assertEqual(exe_mod.file.fullpath, exe)