summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-02-04 18:03:01 +0000
committerZachary Turner <zturner@google.com>2016-02-04 18:03:01 +0000
commit7a5382de8277d2fc8bb9850d5305de8ddcc30fc9 (patch)
tree9df28a1001d3dbfc39b28a7b3e99a74a1fbb0a99 /lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
parenta4859dfa46ef796976f023f505aae891722883b3 (diff)
downloadbcm5719-llvm-7a5382de8277d2fc8bb9850d5305de8ddcc30fc9.tar.gz
bcm5719-llvm-7a5382de8277d2fc8bb9850d5305de8ddcc30fc9.zip
Move some of the common decorators to decorators.py.
This doesn't attempt to move every decorator. The reason for this is that it requires touching every single test file to import decorators.py. I would like to do this in a followup patch, but in the interest of keeping the patches as bite-sized as possible, I've only attempted to move the underlying common decorators first. A few tests call these directly, so those tests are updated as part of this patch. llvm-svn: 259807
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py b/lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
index c3d6306c5a6..224f610e85a 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
@@ -1,6 +1,10 @@
+from __future__ import print_function
+
+
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
-import lldbsuite.test.lldbutil as lldbutil
+from lldbsuite.test import lldbutil
class TestMacros(TestBase):
OpenPOWER on IntegriCloud