[Lldb-commits] [lldb] r370719 - [lldb][NFC] Remove unnecessary constructors from invalid-args tests

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 3 02:25:03 PDT 2019


Author: teemperor
Date: Tue Sep  3 02:25:02 2019
New Revision: 370719

URL: http://llvm.org/viewvc/llvm-project?rev=370719&view=rev
Log:
[lldb][NFC] Remove unnecessary constructors from invalid-args tests

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/commands/expression/invalid-args/TestInvalidArgsExpression.py
    lldb/trunk/packages/Python/lldbsuite/test/commands/log/invalid-args/TestInvalidArgsLog.py
    lldb/trunk/packages/Python/lldbsuite/test/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/expression/invalid-args/TestInvalidArgsExpression.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/expression/invalid-args/TestInvalidArgsExpression.py?rev=370719&r1=370718&r2=370719&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/expression/invalid-args/TestInvalidArgsExpression.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/expression/invalid-args/TestInvalidArgsExpression.py Tue Sep  3 02:25:02 2019
@@ -6,9 +6,6 @@ class InvalidArgsExpressionTestCase(Test
 
     mydir = TestBase.compute_mydir(__file__)
 
-    def setUp(self):
-        TestBase.setUp(self)
-
     @no_debug_info_test
     def test_invalid_lang(self):
         self.expect("expression -l foo --", error=True,

Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/log/invalid-args/TestInvalidArgsLog.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/log/invalid-args/TestInvalidArgsLog.py?rev=370719&r1=370718&r2=370719&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/log/invalid-args/TestInvalidArgsLog.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/log/invalid-args/TestInvalidArgsLog.py Tue Sep  3 02:25:02 2019
@@ -6,9 +6,6 @@ class InvalidArgsLogTestCase(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
-    def setUp(self):
-        TestBase.setUp(self)
-
     @no_debug_info_test
     def test_enable_empty(self):
         self.expect("log enable", error=True,

Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py?rev=370719&r1=370718&r2=370719&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/reproducer/invalid-args/TestInvalidArgsReproducer.py Tue Sep  3 02:25:02 2019
@@ -6,9 +6,6 @@ class ReproducerTestCase(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
-    def setUp(self):
-        TestBase.setUp(self)
-
     @no_debug_info_test
     def test_reproducer_generate_invalid_invocation(self):
         self.expect("reproducer generate f", error=True,




More information about the lldb-commits mailing list