summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cfgparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_cfgparser.py')
-rw-r--r--Lib/test/test_cfgparser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_cfgparser.py b/Lib/test/test_cfgparser.py
index bc0ef5e..b1b495e 100644
--- a/Lib/test/test_cfgparser.py
+++ b/Lib/test/test_cfgparser.py
@@ -322,11 +322,11 @@ class SafeConfigParserTestCase(ConfigParserTestCase):
def test_main():
- suite = unittest.TestSuite()
- suite.addTests([unittest.makeSuite(ConfigParserTestCase),
- unittest.makeSuite(RawConfigParserTestCase),
- unittest.makeSuite(SafeConfigParserTestCase)])
- test_support.run_suite(suite)
+ test_support.run_unittest(
+ ConfigParserTestCase,
+ RawConfigParserTestCase,
+ SafeConfigParserTestCase
+ )
if __name__ == "__main__":
test_main()