summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lldbinline.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/lldbinline.py')
-rw-r--r--packages/Python/lldbsuite/test/lldbinline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Python/lldbsuite/test/lldbinline.py b/packages/Python/lldbsuite/test/lldbinline.py
index bb925ef908f5..c01fef00fe44 100644
--- a/packages/Python/lldbsuite/test/lldbinline.py
+++ b/packages/Python/lldbsuite/test/lldbinline.py
@@ -195,7 +195,6 @@ def MakeInlineTest(__file, __globals, decorators=None):
# Derive the test name from the current file name
file_basename = os.path.basename(__file)
- InlineTest.mydir = TestBase.compute_mydir(__file)
test_name, _ = os.path.splitext(file_basename)
@@ -209,4 +208,5 @@ def MakeInlineTest(__file, __globals, decorators=None):
# Keep track of the original test filename so we report it
# correctly in test results.
test_class.test_filename = __file
+ test_class.mydir = TestBase.compute_mydir(__file)
return test_class