summaryrefslogtreecommitdiffstats
path: root/SCons/Scanner
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-08-18 18:59:47 (GMT)
committerMats Wichmann <mats@linux.com>2020-08-25 13:34:57 (GMT)
commita4d4834c9e93b485348236dd7fb953f9ef500bd1 (patch)
treeae9690d7072b5bb3ff5043a70b2b6eacf9c32063 /SCons/Scanner
parentff24d06d2dcac49a6145a54d4dbaadb26e1a1049 (diff)
downloadSCons-a4d4834c9e93b485348236dd7fb953f9ef500bd1.zip
SCons-a4d4834c9e93b485348236dd7fb953f9ef500bd1.tar.gz
SCons-a4d4834c9e93b485348236dd7fb953f9ef500bd1.tar.bz2
Simplify more tests to use unittest.main
For issue #3113, but does not complete it - there are still uses of TestSuite where the "simple fix" from the issue requires more thought. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Scanner')
-rw-r--r--SCons/Scanner/RCTests.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/SCons/Scanner/RCTests.py b/SCons/Scanner/RCTests.py
index 347149c..487250e 100644
--- a/SCons/Scanner/RCTests.py
+++ b/SCons/Scanner/RCTests.py
@@ -158,13 +158,6 @@ class RCScannerTestCase3(unittest.TestCase):
deps_match(self, deps, headers)
-def suite():
- suite = unittest.TestSuite()
- suite.addTest(RCScannerTestCase1())
- suite.addTest(RCScannerTestCase2())
- suite.addTest(RCScannerTestCase3())
- return suite
-
if __name__ == "__main__":
unittest.main()