summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mailcap.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.11] gh-103186: assert in tests that UnsafeMailcapInput warnings are ↵Miss Islington (bot)2023-09-021-4/+24
| | | | | | | provided (GH-103217) (GH-108800) (cherry picked from commit 1724553e6e8baae655901488968a40df981f32da) Co-authored-by: Ijtaba Hussain <ijtabahussain@live.com>
* [3.11] gh-68966: Make mailcap refuse to match unsafe filenames/types/params ↵Miss Islington (bot)2022-06-031-2/+6
| | | | | | | | | | (GH-91993) (GH-93458) (cherry picked from commit b9509ba7a9c668b984dab876c7926fe1dc5aa0ba) Co-authored-by: Petr Viktorin <encukou@gmail.com> Automerge-Triggered-By: GH:encukou
* gh-90473: WASI: skip gethostname tests (GH-93092)Miss Islington (bot)2022-05-231-0/+4
| | | | | | | | | - 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. (cherry picked from commit 760ec8940aabd6a7fc471bd913ea1ac501cc604b) Co-authored-by: Christian Heimes <christian@python.org>
* gh-68966: Deprecate the mailcap module (#91951)Victor Stinner2022-04-261-4/+9
|
* skip test_test of test_mailcap on VxWorks (GH-23507)pxinwr2020-11-281-0/+2
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21169)Hai Shi2020-06-301-2/+3
|
* Merge: #14977: Make mailcap respect the order of the lines in the mailcap file.R David Murray2016-09-101-23/+46
|\
| * #14977: Make mailcap respect the order of the lines in the mailcap file.R David Murray2016-09-101-23/+46
| | | | | | | | | | This is required by RFC 1542, so despite the subtle behavior change we are treating it as a bug. Patch by Michael Lazar.
* | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-081-1/+1
| | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
|/
* Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-5/+1
| | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
* #6484: refactor a bit the tests.Ezio Melotti2011-08-221-52/+70
|
* Add unit tests for the mailcap module. Patch by Gregory Nofi (closes #6484)Nick Coghlan2011-08-221-0/+203