summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-11-06 21:37:21 +0000
committerZachary Turner <zturner@google.com>2015-11-06 21:37:21 +0000
commit5821f7971429f94faaf35757b4e029326f1c53da (patch)
tree16712b2c43a912afec80f1f26ac3d7cd81181a11 /lldb/packages/Python/lldbsuite/test/functionalities
parent059e52c44ceda28ca21a0299bb171cad2da0bc4c (diff)
downloadbcm5719-llvm-5821f7971429f94faaf35757b4e029326f1c53da.tar.gz
bcm5719-llvm-5821f7971429f94faaf35757b4e029326f1c53da.zip
Python 3 - Use the exec function, not the exec statement.
exec statement is gone in Python 3, this version works in both. llvm-svn: 252347
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py
index 59320a1a6ff..8ae09d69194 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py
@@ -1,3 +1,5 @@
-import lldbsuite.test.lldbinline as lldbinline
+from __future__ import absolute_import
+
+from lldbsuite.test import lldbinline
lldbinline.MakeInlineTest(__file__, globals(), [lldbinline.expectedFailureWindows("llvm.org/pr24663")])
OpenPOWER on IntegriCloud