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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to