Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -2/+2 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -2/+2 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -2/+2 |
| | | | | Patch by flox | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -10/+10 |
| | |||||
* | add py3k warnings to rfc822 | Benjamin Peterson | 2008-06-12 | 1 | -1/+2 |
| | |||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+0 |
| | |||||
* | Port forward from 2.4 branch: | Barry Warsaw | 2006-05-01 | 1 | -0/+10 |
| | | | | | | | | | | Patch #1464708 from William McVey: fixed handling of nested comments in mail addresses. E.g. "Foo ((Foo Bar)) <foo@example.com>" Fixes for both rfc822.py and email package. This patch needs to be back ported to Python 2.3 for email 2.5. | ||||
* | Bug #1030125: rfc822 __iter__ problem | Raymond Hettinger | 2004-09-22 | 1 | -0/+11 |
| | | | | Add iteration support to the Message class. | ||||
* | Resolution of bug #997368, "strftime() backward compatibility". | Barry Warsaw | 2004-08-07 | 1 | -1/+1 |
| | | | | | | | | | Specifically, time.strftime() no longer accepts a 0 in the yday position of a time tuple, since that can crash some platform strftime() implementations. parsedate_tz(): Change the return value to return 1 in the yday position. Update tests in test_rfc822.py and test_email.py | ||||
* | test_quote_unquote(): Added a test for the rfc822.unquote() patch | Barry Warsaw | 2002-09-11 | 1 | -0/+6 |
| | | | | (adapted from Quinn Dunkan's mimelib SF patch #573204). | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | SF bug 558179. | Guido van Rossum | 2002-06-05 | 1 | -1/+1 |
| | | | | | Change default for get() back to None. Will backport to 2.2.1. | ||||
* | parseaddr(): Fixed in the same way that Message.getaddrlist() was | Barry Warsaw | 2002-05-23 | 1 | -0/+9 |
| | | | | fixed (re: SF bug #555035). Include a unittest. | ||||
* | Message.getaddrlist(): Use the AddressList.addresslist attribute | Barry Warsaw | 2002-05-21 | 1 | -1/+20 |
| | | | | | | | | instead of calling the getaddrlist() method, since the latter doesn't work with multiple calls (it will return the empty list for the second and subsequent calls). Closes SF bug #555035. Include a unittest. | ||||
* | A specific test for bug #481221, getaddrlist() failing on long | Barry Warsaw | 2001-11-13 | 1 | -0/+8 |
| | | | | addresses. Commented out because it still takes too long to run. | ||||
* | Add tests for bug #478115, parsedate_tz() IndexError when a Date: | Barry Warsaw | 2001-11-13 | 1 | -0/+8 |
| | | | | field exists with an empty value. | ||||
* | Change the PyUnit-based tests to use the test_main() approach. This | Fred Drake | 2001-09-20 | 1 | -1/+7 |
| | | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves. | ||||
* | test_basic(): Add a test for "person@dom.ain (User J. Person)" which | Barry Warsaw | 2001-07-16 | 1 | -0/+12 |
| | | | | | | | | was already correctly parsed (contrary to a comment in Mailman). test_rfc2822_phrases(): RFC 2822 now requires that we allow `.' in phrases, which means we must accept dots in unquoted realname parts. Add a test to check the change in rfc822.py 1.58. | ||||
* | Re-write the rfc822 tests to use PyUnit. | Fred Drake | 2001-05-22 | 1 | -138/+162 |
| | | | | | Update to reflect using "" as the default value for the second parameter to the get() method. | ||||
* | Add tests for the new .get() and .setdefault() methods of rfc822.Message | Fred Drake | 2001-05-22 | 1 | -1/+19 |
| | | | | objects. | ||||
* | a bold attempt to fix things broken by MAL's verify patch: import | Fredrik Lundh | 2001-01-17 | 1 | -1/+1 |
| | | | | 'verify' iff it's used by a test module... | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -1/+1 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Make reindent happy, but not in the way it planned! | Fred Drake | 2000-10-23 | 1 | -3/+3 |
| | |||||
* | Add a test for SF bug #110621; stripping square brackets off of | Barry Warsaw | 2000-09-25 | 1 | -0/+4 |
| | | | | addresses with domain literals. | ||||
* | added a test for "To: :" patch | Barry Warsaw | 1999-07-12 | 1 | -0/+7 |
| | |||||
* | Add the test case provided by Barry Scott for his patch. | Guido van Rossum | 1999-06-15 | 1 | -0/+5 |
| | |||||
* | Regression test for date format code, by Mike Meyer. | Guido van Rossum | 1999-05-03 | 1 | -0/+21 |
| | | | | (I tweaked it slightly so examples are allowed to have no date too.) | ||||
* | Added test case that includes a comma in the full name. This tests | Fred Drake | 1999-04-28 | 1 | -0/+7 |
| | | | | | for an old bug that's been gone a while, but was still documented until a few minutes from now. | ||||
* | Test the rfc822.py module. Contains just a few simple cases, and some | Barry Warsaw | 1999-01-14 | 1 | -0/+82 |
troublesome ones encountered on the c.l.py list. |