summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/default-constructor
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/python_api/default-constructor
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/python_api/default-constructor')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
index aa3a6141326..3e2ff2ffa9d 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
@@ -18,8 +18,9 @@ from __future__ import print_function
import os, time
import re
import lldb
-import lldbsuite.test.lldbutil as lldbutil
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
class APIDefaultConstructorTestCase(TestBase):
OpenPOWER on IntegriCloud