[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-30 Thread Mark Roddy
Mark Roddy added the comment: All patches change the default value of stream to None in the constructor, and set it to the current to sys.stderr if the argument is None. Unit tests included to check this behavior. Also, the patch against Python 3.1 adds the Test_TextTestRunner test case

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-30 Thread Mark Roddy
Changes by Mark Roddy : Added file: http://bugs.python.org/file20194/py32.patch ___ Python tracker <http://bugs.python.org/issue10786> ___ ___ Python-bugs-list mailin

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-30 Thread Mark Roddy
Changes by Mark Roddy : -- keywords: +patch Added file: http://bugs.python.org/file20193/py27.patch ___ Python tracker <http://bugs.python.org/issue10786> ___ ___

[issue10502] Add unittestguirunner to Tools/

2010-12-11 Thread Mark Roddy
Mark Roddy added the comment: Attaching patch that adds the unittestgui to Tools/scripts. Also has updates to the unittest documentation which includes a note that this tool is for beginners and a CI system should be used in general. -- keywords: +patch nosy: +MarkRoddy Added file

[issue7911] unittest.TestCase.longMessage should default to True in Python 3.2

2010-11-20 Thread Mark Roddy
Mark Roddy added the comment: Current patch has grown stale. Attaching a newer one. -- nosy: +MarkRoddy Added file: http://bugs.python.org/file19724/py3k.7911.patch ___ Python tracker <http://bugs.python.org/issue7

[issue10242] unittest's assertItemsEqual() method makes too many assumptions about its input

2010-11-20 Thread Mark Roddy
Mark Roddy added the comment: Adding patch for release27-maint branch which implements Raymond's suggested fix which utilizes collections.Counter. Has the same issues addressed with the py3k patch. -- Added file: http://bugs.python.org/file19721/py27.10242.

[issue10242] unittest's assertItemsEqual() method makes too many assumptions about its input

2010-11-20 Thread Mark Roddy
Mark Roddy added the comment: Adding patch for py3k which implements Raymond's suggested fix which utilizes collections.Counter. Have not changed the name of the assertion method as this seems as though it may be outside the scope of this issue, but I can produce another patch with

[issue9857] SkipTest in tearDown is reported an as an error

2010-11-06 Thread Mark Roddy
Mark Roddy added the comment: Attaching patch which does the same as the previous for the release27-maint branch. -- Added file: http://bugs.python.org/file19527/python27.skipteardown.patch ___ Python tracker <http://bugs.python.org/issue9

[issue9857] SkipTest in tearDown is reported an as an error

2010-11-06 Thread Mark Roddy
Mark Roddy added the comment: Attaching patch which adds support for registering a skip when raised from tearDown. Per Michael's point regarding failed tests, this is only handled if the test has been successful when SkipTest is raised from tearDown. -- keywords: +patch

[issue10326] Can't pickle unittest.TestCase instances

2010-11-05 Thread Mark Roddy
Mark Roddy added the comment: Attaching patch which makes TestCase pickle-able for Python 3.2, includes unit test -- Added file: http://bugs.python.org/file19516/python3k.pickle.patch ___ Python tracker <http://bugs.python.org/issue10

[issue10326] Can't pickle unittest.TestCase instances

2010-11-05 Thread Mark Roddy
Mark Roddy added the comment: Patch which makes TestCase pickle-able for Python 2.7, includes unit test -- keywords: +patch nosy: +MarkRoddy Added file: http://bugs.python.org/file19515/python27.pickle.patch ___ Python tracker <h

[issue7404] optparse Documentation References Example Files that do not Exist

2009-11-27 Thread Mark Roddy
Mark Roddy added the comment: Patch takes the contents of required_1.py from the optik source adds it in the optparse documentation as well as removing references to the two files. -- Added file: http://bugs.python.org/file15409/example-inline.diff

[issue7404] optparse Documentation References Example Files that do not Exist

2009-11-27 Thread Mark Roddy
Mark Roddy added the comment: Patch which references the original optik module when referring to example required option modules. -- Added file: http://bugs.python.org/file15408/reference-optik.diff ___ Python tracker <http://bugs.python.

[issue7404] optparse Documentation References Example Files that do not Exist

2009-11-27 Thread Mark Roddy
Mark Roddy added the comment: Patch which removes reference to example_1.py and example_2.py -- keywords: +patch Added file: http://bugs.python.org/file15407/remove-reference.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7404] optparse Documentation References Example Files that do not Exist

2009-11-27 Thread Mark Roddy
New submission from Mark Roddy : In the 'Terminology' section of the optparse module documentation, under the description of the term 'required option', a reference to example implementations of this concept are stated to be available in two example files of the source

[issue6866] TestLoader.loadTestsFromName does not use suiteClass attribute to create TestSuite instances

2009-09-08 Thread Mark Roddy
Mark Roddy added the comment: The issue appears to be in the other versions mentioned from manual inspection. Also adding another patch as unittest in the trunk has been broken apart into a package with several modules so the original patch will not work there. -- Added file: http

[issue6866] TestLoader.loadTestsFromName does not use suiteClass attribute to create TestSuite instances

2009-09-08 Thread Mark Roddy
New submission from Mark Roddy : The TestLoader class in unittest.py has an attribute 'suiteClass' that is used to create instances of TestSuite object(s) in the process of loading tests. If it is desired to subclass the TestSuite class then consumers may set this attribute on a