New submission from Amaury Forgeot d'Arc: This is test_descr.py converted to unittest. The diff is so large that svn diff failed! "svn: Can't write to stream: Not enough space to process this command." Anyway, I started from trunk, rev 60301.
The file is very large, and some functions have more than 400 lines. I tried to group them into classes, most of the time respecting the initial sequential order, but not always. The class and function names may seem arbitrary sometimes. At least, I hope that no test was lost in the process. Feel free to reorganize stuff if you find a logic in all these tests. I removed all print statements, and converted some statements to unittest idioms, but not all: lots of "raise TestFailed" remain. svn merge into py3k will be difficult; I propose to upload a py3k version of this file, which I will make by merging differences between trunk and py3k into this new file. ---------- components: Tests files: test_descr.py keywords: patch messages: 61696 nosy: amaury.forgeotdarc severity: normal status: open title: test_descr.py converted to unittest versions: Python 2.6 Added file: http://bugs.python.org/file9289/test_descr.py __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1935> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com