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
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 59320a1..8ae09d6 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")])
diff --git a/lldb/packages/Python/lldbsuite/test/lldbinline.py b/lldb/packages/Python/lldbsuite/test/lldbinline.py
index e27cb15..67a5e81 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbinline.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbinline.py
@@ -141,7 +141,7 @@
         self.do_test()
 
     def execute_user_command(self, __command):
-        exec __command in globals(), locals()
+        exec(__command, globals(), locals())
 
     def do_test(self):
         exe_name = "a.out"