diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-12-13 12:24:23 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-13 12:34:49 +0100 |
commit | 9bace26a690a778ec0f09a9aae9537dfbdb6f42f (patch) | |
tree | 4164aae25028a4490b310022d51a2ad36746079c /lldb/packages/Python/lldbsuite/test/functionalities/data-formatter | |
parent | 3ca771ba594fbd40da7ef842c04b5842e7b2a83c (diff) | |
download | bcm5719-llvm-9bace26a690a778ec0f09a9aae9537dfbdb6f42f.tar.gz bcm5719-llvm-9bace26a690a778ec0f09a9aae9537dfbdb6f42f.zip |
[lldb][NFC] Remove all `setUp` overrides that only call the parent implementation
Summary:
A lot of our tests copied the setUp code from our TestSampleTest.py:
```
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
```
This code does nothing unless we actually do any setUp work in there, so let's remove all these method definitions.
Reviewers: labath, JDevlieghere
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71454
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/data-formatter')
2 files changed, 0 insertions, 7 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py index 8b906506a5b..881913b225b 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py @@ -8,9 +8,6 @@ class TestDataFormatterCaching(TestBase): mydir = TestBase.compute_mydir(__file__) - def setUp(self): - TestBase.setUp(self) - def test_with_run_command(self): """ Test that hardcoded summary formatter matches aren't improperly cached. diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py index fe472d57f93..e1dc52e8394 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py @@ -14,10 +14,6 @@ class TypeSummaryListArgumentTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) - def setUp(self): - # Call super's setUp(). - TestBase.setUp(self) - @no_debug_info_test def test_type_summary_list_with_arg(self): """Test that the 'type summary list' command handles command line arguments properly""" |