Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-90473: WASI: skip gethostname tests (GH-93092) | Christian Heimes | 2022-05-23 | 1 | -0/+5 |
| | | | | | | - WASI's ``gethostname()`` is a stub that always fails with OSError ``ENOTSUP`` - skip mailcap ``test`` if subprocess is not available - WASI process_time clock does not work. | ||||
* | bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) | Christian Heimes | 2022-03-22 | 1 | -1/+1 |
| | | | | | | | | | | | - Add requires_fork and requires_subprocess to more tests - Skip extension import tests if dlopen is not available - Don't assume that _testcapi is a shared extension - Skip a lot of socket tests that don't work on Emscripten - Skip mmap tests, mmap emulation is incomplete - venv does not work yet - Cannot get libc from executable The "entire" test suite is now passing on Emscripten with EMSDK from git head (91 suites are skipped). | ||||
* | bpo-45229: Remove test_main in many tests (GH-28405) | Serhiy Storchaka | 2021-09-19 | 1 | -8/+2 |
| | | | | | | | | | Instead of explicitly enumerate test classes for run_unittest() use the unittest ability to discover tests. This also makes these tests discoverable and runnable with unittest. load_tests() can be used for dynamic generating tests and adding doctests. setUpModule(), tearDownModule() and addModuleCleanup() can be used for running code before and after all module tests. | ||||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25190) | Inada Naoki | 2021-04-06 | 1 | -10/+10 |
| | | | | | | * Fix test_lzma * Fix test_mailbox * Fix test_mimetypes * Fix test_posix | ||||
* | bpo-41521: Rename blacklist parameter to not_exported (GH-21824) | Victor Stinner | 2020-08-17 | 1 | -2/+2 |
| | | | | Rename "blacklist" parameter of test.support.check__all__() to "not_exported". | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21412) | Hai Shi | 2020-07-09 | 1 | -20/+21 |
| | |||||
* | bpo-41043: Escape literal part of the path for glob(). (GH-20994) | Serhiy Storchaka | 2020-06-20 | 1 | -2/+2 |
| | |||||
* | bpo-40094: Add test.support.wait_process() (GH-19254) | Victor Stinner | 2020-03-31 | 1 | -1/+1 |
| | | | | | | | | | Moreover, the following tests now check the child process exit code: * test_os.PtyTests * test_mailbox.test_lock_conflict() * test_tempfile.test_process_awareness() * test_uuid.testIssue8621() * multiprocessing resource tracker tests | ||||
* | Fix typos in comments, docs and test names (#15018) | Min ho Kim | 2019-07-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes. | ||||
* | Clean up code which checked presence of os.{stat,lstat,chmod} (#11643) | Anthony Sottile | 2019-02-25 | 1 | -3/+0 |
| | |||||
* | bpo-31522: mailbox.get_string: pass `from_` parameter to `get_bytes` (#9857) | Cheryl Sabella | 2018-10-19 | 1 | -0/+28 |
| | | | This allows *from_* to be successfully set to a non-default value when calling mbox.get_string. | ||||
* | bpo-31627: Make test_mailbox be lenient to empty hostname. (#3821) | Serhiy Storchaka | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a ↵ | Xavier de Gaye | 2016-12-12 | 1 | -2/+2 |
| | | | | non-root user. | ||||
* | Issue #27107: mailbox.fcntl = None on Windows | Martin Panter | 2016-06-06 | 1 | -1/+1 |
| | |||||
* | Issue #27107: Add exception classes to mailbox.__all__, by Jacek Kołodziej | Martin Panter | 2016-06-06 | 1 | -1/+7 |
| | |||||
* | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -5/+0 |
| | |||||
* | Issue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems() | Serhiy Storchaka | 2014-08-13 | 1 | -7/+7 |
| | | | | in the mailbox module. This is partial rollback of changeset f340cb045bf9. | ||||
* | Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests. | Serhiy Storchaka | 2014-02-08 | 1 | -23/+24 |
|\ | |||||
| * | Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests. | Serhiy Storchaka | 2014-02-08 | 1 | -23/+24 |
| | | |||||
| * | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -18/+18 |
| | | |||||
* | | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -18/+18 |
| | | |||||
* | | Merge: #17064: fix sporadic permission errors in test_mailbox on windows. | R David Murray | 2013-02-11 | 1 | -8/+8 |
|\ \ | |/ | | | | | Patch by Jeremy Kloth. | ||||
| * | Merge: #17064: fix sporadic permission errors in test_mailbox on windows. | R David Murray | 2013-02-11 | 1 | -8/+8 |
| |\ | | | | | | | | | | Patch by Jeremy Kloth. | ||||
| | * | #17064: fix sporadic permission errors in test_mailbox on windows. | R David Murray | 2013-02-11 | 1 | -8/+8 |
| | | | | | | | | | | | | Patch by Jeremy Kloth. | ||||
* | | | Closes #16135: Removal of OS/2 support | Jesus Cea | 2012-10-05 | 1 | -1/+1 |
|/ / | |||||
* | | #15222: Merge 3.2 | Petri Lehtinen | 2012-09-25 | 1 | -15/+38 |
|\ \ | |/ | |||||
| * | #15222: Insert blank line after each message in mbox mailboxes | Petri Lehtinen | 2012-09-25 | 1 | -0/+23 |
| | | |||||
| * | #15222: test_mailbox: End message template in a newline | Petri Lehtinen | 2012-09-25 | 1 | -15/+15 |
| | | |||||
* | | #15802: Fix test logic in TestMaildir.test_create_tmp | Petri Lehtinen | 2012-09-01 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | #15802: Fix test logic in TestMaildir.test_create_tmp | Petri Lehtinen | 2012-09-01 | 1 | -5/+5 |
| | | |||||
* | | #11062: Fix adding a message from file to Babyl mailbox | Petri Lehtinen | 2012-08-15 | 1 | -12/+6 |
|\ \ | |/ | |||||
| * | #11062: Fix adding a message from file to Babyl mailbox | Petri Lehtinen | 2012-08-15 | 1 | -12/+6 |
| | | |||||
* | | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush() | Petri Lehtinen | 2012-06-29 | 1 | -0/+17 |
|\ \ | |/ | |||||
| * | #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush() | Petri Lehtinen | 2012-06-29 | 1 | -0/+17 |
| | | |||||
* | | #9559: Append data to single-file mailbox files if messages are only added | Petri Lehtinen | 2012-06-28 | 1 | -2/+27 |
|\ \ | |/ | | | | | | | | | If messages were only added, a new file is no longer created and renamed over the old file when flush() is called on an mbox, MMDF or Babyl mailbox. | ||||
| * | #9559: Append data to single-file mailbox files if messages are only added | Petri Lehtinen | 2012-06-28 | 1 | -2/+27 |
| | | | | | | | | | | | | If messages were only added, a new file is no longer created and renamed over the old file when flush() is called on an mbox, MMDF or Babyl mailbox. | ||||
* | | #15036: Make a repeated changes and flushes work with single-file mailboxes | Petri Lehtinen | 2012-06-15 | 1 | -0/+11 |
|\ \ | |/ | |||||
| * | #15036: Make a repeated changes and flushes work with single-file mailboxes | Petri Lehtinen | 2012-06-15 | 1 | -0/+11 |
| | | |||||
* | | #12537: in mailbox avoid depending on knowledge of email package internals | R David Murray | 2012-04-09 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | | | Previously mailbox was copying a list of attributes from one message object to another in order to "copy the message data". This means that any time new attributes were added to email.message.Message, mailbox broke. Now instead it copies all attributes from the source object to the target object, skipping any mailbox-object-specific attributes to produce the same clean initial state it was previously getting by copying only the "known" attributes. David Lam assisted in the development of this patch. | ||||
* | | Remove redundancy in listing of all mailbox classes in test_mailbox. | R David Murray | 2012-04-09 | 1 | -15/+9 |
| | | |||||
* | | Merge: Make test_mailbox runnable via python -m unittest. | R David Murray | 2012-04-08 | 1 | -17/+17 |
|\ \ | |/ | |||||
| * | Make test_mailbox runnable via python -m unittest. | R David Murray | 2012-04-08 | 1 | -17/+17 |
| | | |||||
* | | Merge #14291: if a header has non-ascii unicode, default to CTE using utf-8 | R David Murray | 2012-03-14 | 1 | -4/+4 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | In Python2, if a unicode string was assigned as the value of a header, email would automatically CTE encode it using the UTF8 charset. This capability was lost in the Python3 translation, and this patch restores it. Patch by Ali Ikinci, assisted by R. David Murray. I also added a fix for the mailbox test that was depending (with a comment that it was a bad idea to so depend) on non-ASCII causing message_from_string to raise an error. It now uses support.patch to induce an error during message serialization. | ||||
| * | #14291: if a header has non-ascii unicode, default to CTE using utf-8 | R David Murray | 2012-03-14 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python2, if a unicode string was assigned as the value of a header, email would automatically CTE encode it using the UTF8 charset. This capability was lost in the Python3 translation, and this patch restores it. Patch by Ali Ikinci, assisted by R. David Murray. I also added a fix for the mailbox test that was depending (with a comment that it was a bad idea to so depend) on non-ASCII causing message_from_string to raise an error. It now uses support.patch to induce an error during message serialization. | ||||
* | | Closes #14158: merged test file resilience fix from 3.2. | Vinay Sajip | 2012-03-02 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Closes #14158: improved resilience to test files left behind. | Vinay Sajip | 2012-03-02 | 1 | -6/+6 |
| | | |||||
* | | Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really | Charles-François Natali | 2011-12-20 | 1 | -11/+8 |
|\ \ | |/ | | | | | support multiprocessing.Event. | ||||
| * | Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really | Charles-François Natali | 2011-12-20 | 1 | -11/+8 |
| | | | | | | | | support multiprocessing.Event. | ||||
* | | Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a | Charles-François Natali | 2011-12-19 | 1 | -9/+21 |
|\ \ | |/ | | | | | race condition). | ||||
| * | Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a | Charles-François Natali | 2011-12-19 | 1 | -9/+21 |
| | | | | | | | | race condition). |