[Lldb-commits] [lldb] 4286aca - [lldb][NFC] Add reminder to TestSampleTest that setUp should be deleted if it not needed.

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 13 03:10:42 PST 2019


Author: Raphael Isemann
Date: 2019-12-13T12:10:05+01:00
New Revision: 4286aca5d5adb2fd07fb07d0dbbc94e2ff16270d

URL: https://github.com/llvm/llvm-project/commit/4286aca5d5adb2fd07fb07d0dbbc94e2ff16270d
DIFF: https://github.com/llvm/llvm-project/commit/4286aca5d5adb2fd07fb07d0dbbc94e2ff16270d.diff

LOG: [lldb][NFC] Add reminder to TestSampleTest that setUp should be deleted if it not needed.

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py b/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py
index a22670a72a1a..3577723084a8 100644
--- a/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py
+++ b/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py
@@ -28,6 +28,8 @@ def test_sample_rename_this(self):
     def setUp(self):
         # Call super's setUp().
         TestBase.setUp(self)
+        # Set up your test case here. If your test doesn't need any set up then
+        # remove this method from your TestCase class.
 
     def sample_test(self):
         """You might use the test implementation in several ways, say so here."""


        


More information about the lldb-commits mailing list