This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author denversc
Recipients benjamin.peterson, bethard, denversc, eric.smith
Date 2010-08-10.02:53:43
SpamBayes Score 5.803284e-05
Marked as misclassified No
Message-id <>
Some of the unit testing code in could be modified to take advantage of the new unittest features in Python 2.7 and 3.x.  My suggested changes are attached in the patch file

One big one is that assertEquals() now prints a "diff" when multi-line strings compare unequal, so the manual "diffing" logic from the unit tests can be removed.  Also, assertIsNone() is slightly better than assertEquals(None, x).  Finally, there is a tiny fix where parse_args() was expected to throw ArgumentParserError but the test would not fail if it threw no exceptions.
Date User Action Args
2010-08-10 02:53:47denverscsetrecipients: + denversc, bethard, eric.smith, benjamin.peterson
2010-08-10 02:53:47denverscsetmessageid: <>
2010-08-10 02:53:45denversclinkissue9554 messages
2010-08-10 02:53:44denversccreate