summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Remove an unneeded import of 'warnings'.Brett Cannon2006-12-131-1/+0
|
* Fix typo.Walter Dörwald2006-12-121-1/+1
|
* Add test for SF bug 1576657Raymond Hettinger2006-12-081-0/+11
|
* Patch #1610437: fix a tarfile bug with long filename headers.Georg Brandl2006-12-061-9/+13
|
* Patch #1371075: Make ConfigParser accept optional dict typeMartin v. Löwis2006-12-031-1/+45
| | | | for ordering, sorting, etc.
* Move xdrlib tests from the module into a separate test script,Walter Dörwald2006-12-012-20/+54
| | | | port the tests to unittest and add a few new tests.
* a test for an error condition not covered by existing testsMichael W. Hudson2006-11-231-0/+7
| | | | (noticed this when writing the equivalent code for pypy)
* Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))Walter Dörwald2006-11-231-0/+4
| | | | SF bug #1601501.
* Patch #1070046: Marshal new-style objects like InstanceTypeMartin v. Löwis2006-11-191-0/+9
| | | | in xmlrpclib.
* Add a test case of data w/ bytes > 127Andrew M. Kuchling2006-11-191-0/+3
|
* Make cStringIO.truncate raise IOError for negativeMartin v. Löwis2006-11-191-0/+1
| | | | | arguments (even for -1). Fixes the last bit of #1359365.
* Patch [ 1586791 ] better error msgs for some TypeErrorsGeorg Brandl2006-11-191-2/+2
|
* Expand checking in test_shaAndrew M. Kuchling2006-11-181-1/+15
|
* Remove file-locking in MH.pack() method.Andrew M. Kuchling2006-11-171-0/+15
| | | | | | | | | | | | | | | | | | This change looks massive but it's mostly a re-indenting after removing some try...finally blocks. Also adds a test case that does a pack() while the mailbox is locked; this test would have turned up bugs in the original code on some platforms. In both nmh and GNU Mailutils' implementation of MH-format mailboxes, no locking is done of individual message files when renaming them. The original mailbox.py code did do locking, which meant that message files had to be opened. This code was buggy on certain platforms (found through reading the code); there were code paths that closed the file object and then called _unlock_file() on it. Will backport to 25-maint once I see how the buildbots react to this patch.
* Bug #1588217: don't parse "= " as a soft line break in binascii'sGeorg Brandl2006-11-161-1/+1
| | | | | a2b_qp() function, instead leave it in the string as quopri.decode() does.
* Patch #1355023: support whence argument for GzipFile.seek.Martin v. Löwis2006-11-121-0/+11
|
* Patch #1065257: Support passing open files as body inMartin v. Löwis2006-11-121-1/+12
| | | | HTTPConnection.request().
* [Bug #1569790] mailbox.Maildir.get_folder() loses factory informationAndrew M. Kuchling2006-11-091-1/+23
| | | | | | | Both the Maildir and MH classes had this bug; the patch fixes both classes and adds a test. Will backport to 25-maint.
* Correctly forward exception in instance_contains().Martin v. Löwis2006-11-081-0/+8
| | | | | Fixes #1591996. Patch contributed by Neal Norwitz. Will backport.
* Bug #1588287: fix invalid assertion for `1,2` in debug builds.Neal Norwitz2006-11-041-0/+2
| | | | Will backport
* Whitespace normalization.Tim Peters2006-11-0311-20/+20
|
* I'm assuming this is correct, it fixes the tests so they pass againNeal Norwitz2006-10-291-0/+1
|
* Add tests for incremental codecs with an errorsWalter Dörwald2006-10-291-0/+24
| | | | argument.
* Add tests for basic argument errors.Walter Dörwald2006-10-291-0/+27
|
* Move the check for openpty to the beginning.Georg Brandl2006-10-291-5/+5
|
* Remove leftover test output file.Georg Brandl2006-10-291-29/+0
|
* Convert test_openpty to unittest.Georg Brandl2006-10-292-16/+18
|
* Convert test_MimeWriter to unittest.Georg Brandl2006-10-292-174/+185
|
* Completely convert test_httplib to unittest.Georg Brandl2006-10-292-103/+63
|
* Convert test_cgi to unittest.Georg Brandl2006-10-292-167/+135
|
* Convert test_cookie to unittest.Georg Brandl2006-10-292-73/+73
|
* Convert test_types to unittest.Georg Brandl2006-10-292-298/+270
|
* Convert test_nis to unittest.Georg Brandl2006-10-292-37/+37
|
* Convert test_poll to unittest.Georg Brandl2006-10-292-195/+140
|
* Convert test_mmap to unittest.Georg Brandl2006-10-292-276/+156
|
* Bug #1576657: when setting a KeyError for a tuple key, make sure thatGeorg Brandl2006-10-291-0/+10
| | | | the tuple isn't used as the "exception arguments tuple".
* Bug #1586613: fix zlib and bz2 codecs' incremental en/decoders.Georg Brandl2006-10-291-0/+2
|
* Fix the new EncodedFile test to work with big endian platforms.Georg Brandl2006-10-291-2/+2
|
* Test assert if __debug__ is true.Georg Brandl2006-10-291-4/+3
|
* Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, andGeorg Brandl2006-10-291-1/+28
| | | | | fix all codecs file wrappers to work correctly with the "with" statement (bug #1586513).
* Fix test_modulefinder so it doesn't fail when run after test_distutils.Neal Norwitz2006-10-281-0/+1
|
* Fix bug #1565514, SystemError not raised on too many nested blocks.Neal Norwitz2006-10-281-0/+31
| | | | | | | It seems like this should be a different error than SystemError, but I don't have any great ideas and SystemError was raised in 2.4 and earlier. Will backport.
* make test_grammar pass with python -OGeorg Brandl2006-10-281-2/+4
|
* Convert test_opcodes to unittest.Georg Brandl2006-10-282-105/+108
|
* Convert test_math to unittest.Georg Brandl2006-10-282-229/+207
|
* Update outstanding bugs test file.Georg Brandl2006-10-281-10/+5
|
* Convert test_global, test_scope and test_grammar to unittest.Georg Brandl2006-10-288-1288/+1263
| | | | | I tried to enclose all tests which must be run at the toplevel (instead of inside a method) in exec statements.
* Port test_bufio to unittest.Walter Dörwald2006-10-281-55/+61
|
* Modulefinder now handles absolute and relative imports, includingThomas Heller2006-10-271-0/+263
| | | | | | tests. Will backport to release25-maint.
* WindowsError.str should display the windows error code,Thomas Heller2006-10-271-0/+13
| | | | | | | not the posix error code; with test. Fixes #1576174. Will backport to release25-maint.