This revision was automatically updated to reflect the committed changes.
Closed by commit rL258448: Fix TestImport.py to work with Python 3.5. (authored 
by amccarth).

Changed prior to commit:
  http://reviews.llvm.org/D16431?vs=45600&id=45603#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D16431

Files:
  
lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py

Index: 
lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
===================================================================
--- 
lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
+++ 
lldb/trunk/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")


Index: lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
+++ lldb/trunk/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")
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to