From 4cc8f2a017c76af25234afc7c380550e9c93135c Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Thu, 16 Jun 2022 17:38:47 -0700 Subject: [lldb][tests] Automatically call compute_mydir (NFC) Eliminate boilerplate of having each test manually assign to `mydir` by calling `compute_mydir` in lldbtest.py. Differential Revision: https://reviews.llvm.org/D128077 --- .../API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py') diff --git a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py index d1a387527af5..c778a556f9fa 100644 --- a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py +++ b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py @@ -11,8 +11,6 @@ import lldbsuite.test.lldbutil as lldbutil class PluginPythonOSPlugin(TestBase): - - mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True def test_python_os_plugin(self): -- cgit v1.2.3