[issue21741] Convert most of the test suite to using unittest.main()

Zachary Ware report at bugs.python.org
Thu Jun 12 23:29:25 CEST 2014


New submission from Zachary Ware:

Attached is a quick-and-dirty script that converts a large chunk of the test suite away from support.run_unittest and test_main to unittest test discovery and unittest.main.  Several files are marked as 'do not touch' due to various issues that the script can't easily detect, many others are not touched due to issues that the script can detect but can't deal with on its own.  Tests that can be changed are changed directly, console output is a huge listing of test files checked and what was done with them, followed by a summary of what tests were not touched for what reason, and a list of changed tests is output in 'changed_tests.txt'.

----------
components: Tests
files: fix_test_main.py
messages: 220386
nosy: ezio.melotti, zach.ware
priority: normal
severity: normal
stage: patch review
status: open
title: Convert most of the test suite to using unittest.main()
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35602/fix_test_main.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21741>
_______________________________________


More information about the Python-bugs-list mailing list