summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/command_script
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2016-01-21 23:07:48 +0000
committerAdrian McCarthy <amccarth@google.com>2016-01-21 23:07:48 +0000
commit524afae807388f00a71220f3d62e3d732191a965 (patch)
treed750fa1a901314a5712f9ee17b5b82a83de54c3d /lldb/packages/Python/lldbsuite/test/functionalities/command_script
parent259d71a464212756009dfd2418005c6eb5840c94 (diff)
downloadbcm5719-llvm-524afae807388f00a71220f3d62e3d732191a965.tar.gz
bcm5719-llvm-524afae807388f00a71220f3d62e3d732191a965.zip
Fix TestImport.py to work with Python 3.5.
Differential Revision: http://reviews.llvm.org/D16431 llvm-svn: 258448
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
index faa4e3b0cbf..1181462af86 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
@@ -1,5 +1,7 @@
-import TPunitA
-import TPunitB
+from __future__ import absolute_import
+
+from . import TPunitA
+from . import TPunitB
def __lldb_init_module(debugger,*args):
debugger.HandleCommand("command script add -f thepackage.TPunitA.command TPcommandA")
OpenPOWER on IntegriCloud