Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [doc] Fix erroneous backslashes in signatures and names (GH-23658) | Andre Delfino | 2020-12-17 | 1 | -2/+2 |
| | | | | | The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did. | ||||
* | Document that `test.support.bytecode_helper` is new in 3.9 (GH-22618) | Saiyang Gou | 2020-10-15 | 1 | -0/+2 |
| | |||||
* | bpo-41521: Rename blacklist parameter to not_exported (GH-21824) | Victor Stinner | 2020-08-17 | 1 | -5/+5 |
| | | | | Rename "blacklist" parameter of test.support.check__all__() to "not_exported". | ||||
* | bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) | Victor Stinner | 2020-06-18 | 1 | -0/+8 |
| | | | | | | On Linux, skip tests using multiprocessing if the current user cannot create a file in /dev/shm/ directory. Add the skip_if_broken_multiprocessing_synchronize() function to the test.support module. | ||||
* | bpo-40275: Move TransientResource to test_urllib2net (GH-20812) | Victor Stinner | 2020-06-11 | 1 | -9/+0 |
| | | | | | | Move TransientResource, time_out, socket_peer_reset and ioerror_peer_reset from test.support to test_urllib2net. Remove "import errno" from test.support. | ||||
* | bpo-40275: Add warnings_helper submodule in test.support (GH-20797) | Hai Shi | 2020-06-11 | 1 | -93/+102 |
| | |||||
* | bpo-40275: Add import_helper submodule in test.support (GH-20794) | Hai Shi | 2020-06-10 | 1 | -103/+116 |
| | |||||
* | bpo-40275: Add os_helper submodule in test.support (GH-20765) | Hai Shi | 2020-06-10 | 1 | -172/+184 |
| | |||||
* | bpo-40275: Remove test.support.TESTFN_ENCODING (GH-20482) | Hai Shi | 2020-05-28 | 1 | -5/+0 |
| | | | Replace test.support.TESTFN_ENCODING with sys.getfilesystemencoding(). | ||||
* | bpo-40275: Adding threading_helper submodule in test.support (GH-20263) | Hai Shi | 2020-05-27 | 1 | -67/+78 |
| | |||||
* | bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711) | Serhiy Storchaka | 2020-04-29 | 1 | -7/+8 |
| | |||||
* | bpo-40275: Avoid importing logging in test.support (GH-19601) | Serhiy Storchaka | 2020-04-25 | 1 | -5/+0 |
| | | | | | Import logging lazily in assertLogs() in unittest. Move TestHandler from test.support to logging_helper. | ||||
* | bpo-40275: Avoid importing socket in test.support (GH-19603) | Serhiy Storchaka | 2020-04-25 | 1 | -59/+71 |
| | | | | | | * Move socket related functions from test.support to socket_helper. * Import socket, nntplib and urllib.error lazily in transient_internet(). * Remove importing multiprocess. | ||||
* | bpo-39983: Add test.support.print_warning() (GH-19683) | Victor Stinner | 2020-04-23 | 1 | -0/+9 |
| | | | | | | | Log "Warning -- ..." test warnings into sys.__stderr__ rather than sys.stderr, to ensure to display them even if sys.stderr is captured. test.libregrtest.utils.print_warning() now calls test.support.print_warning(). | ||||
* | bpo-40094: Add test.support.wait_process() (GH-19254) | Victor Stinner | 2020-03-31 | 1 | -0/+15 |
| | | | | | | | | | 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 | ||||
* | bpo-39136: Fixed typos (GH-17720) | Gurupad Hegde | 2019-12-28 | 1 | -1/+1 |
| | | | | | funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape, | ||||
* | bpo-38991: Remove test.support.strip_python_stderr() (GH-17490) | Victor Stinner | 2019-12-08 | 1 | -7/+9 |
| | | | | | test.support: run_python_until_end(), assert_python_ok() and assert_python_failure() functions no longer strip whitespaces from stderr. | ||||
* | bpo-38614: Add timeout constants to test.support (GH-16964) | Victor Stinner | 2019-10-30 | 1 | -0/+61 |
| | | | | | | | | Add timeout constants to test.support: * LOOPBACK_TIMEOUT * INTERNET_TIMEOUT * SHORT_TIMEOUT * LONG_TIMEOUT | ||||
* | bpo-18578: Rename and document test.bytecode_helper as ↵ | Joannah Nanjekye | 2019-09-12 | 1 | -0/+30 |
| | | | | | test.support.bytecode_helper (GH-15168) Rename and document test.bytecode_helper as test.support.bytecode_helper | ||||
* | bpo-37648: Fixed minor inconsistency in some __contains__. (GH-14904) | Serhiy Storchaka | 2019-08-04 | 1 | -0/+6 |
| | | | | | The collection's item is now always at the left and the needle is on the right of ==. | ||||
* | bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. ↵ | Serhiy Storchaka | 2019-08-04 | 1 | -0/+17 |
| | | | | | | | | | (GH-14996) There was a discrepancy between the Python and C implementations. Add singletons ALWAYS_EQ, LARGEST and SMALLEST in test.support to test mixed type comparison. | ||||
* | bpo-37526: Add support.catch_threading_exception() (GH-14664) | Victor Stinner | 2019-07-09 | 1 | -0/+33 |
| | | | | Context manager catching threading.Thread exception using threading.excepthook. | ||||
* | bpo-37261: Document sys.unraisablehook corner cases (GH-14059) | Victor Stinner | 2019-06-14 | 1 | -7/+3 |
| | | | | | | | | | | | Document reference cycle and resurrected objects issues in sys.unraisablehook() and threading.excepthook() documentation. Fix test.support.catch_unraisable_exception(): __exit__() no longer ignores unraisable exceptions. Fix test_io test_writer_close_error_on_close(): use a second catch_unraisable_exception() to catch the BufferedWriter unraisable exception. | ||||
* | bpo-37261: Fix support.catch_unraisable_exception() (GH-14052) | Victor Stinner | 2019-06-13 | 1 | -0/+12 |
| | | | | | The __exit__() method of test.support.catch_unraisable_exception context manager now ignores unraisable exception raised when clearing self.unraisable attribute. | ||||
* | bpo-36829: Document test.support.catch_unraisable_exception() (GH-13554) | Victor Stinner | 2019-05-24 | 1 | -0/+20 |
| | | | | catch_unraisable_exception() now also removes its 'unraisable' attribute at the context manager exit. | ||||
* | bpo-36019: Use pythontest.net instead of example.com in network tests (GH-11941) | Stéphane Wirtel | 2019-02-22 | 1 | -0/+4 |
| | |||||
* | bpo-35798: Add test.support.check_syntax_warning(). (#11895) | Serhiy Storchaka | 2019-02-19 | 1 | -3/+18 |
| | | | | | | | It checks that a SyntaxWarning is raised when compile specified statement, that it is raised only once, that it is converted to a SyntaxError when raised as exception, and that both warning and exception objects have corresponding attributes. | ||||
* | bpo-35042: Use the :pep: role where a PEP is specified (#10036) | Stéphane Wirtel | 2018-10-26 | 1 | -1/+1 |
| | |||||
* | Fix "Python" casing in a few places (GH-9001) | Andrés Delfino | 2018-09-14 | 1 | -1/+1 |
| | |||||
* | Spelling fixes to docs, docstrings, and comments (GH-6374) | Ville Skyttä | 2018-04-20 | 1 | -1/+1 |
| | |||||
* | Fix duplicating words words. (GH-6296) | Serhiy Storchaka | 2018-03-28 | 1 | -1/+1 |
| | | | Most of them have been added in 3.7. | ||||
* | bpo-33053: -m now adds *starting* directory to sys.path (GH-6231) | Nick Coghlan | 2018-03-25 | 1 | -2/+2 |
| | | | | | | | | | | | | Historically, -m added the empty string as sys.path zero, meaning it resolved imports against the current working directory, the same way -c and the interactive prompt do. This changes the sys.path initialisation to add the *starting* working directory as sys.path[0] instead, such that changes to the working directory while the program is running will have no effect on imports when using the -m switch. | ||||
* | bpo-32964: Reuse a testing implementation of the path protocol in tests. (#5930) | Serhiy Storchaka | 2018-03-02 | 1 | -0/+7 |
| | |||||
* | bpo-11015: Update test.support documentation (GH-5610) | Cheryl Sabella | 2018-02-11 | 1 | -6/+722 |
| | |||||
* | bpo-31567: add or fix decorator markup in docs (#3959) | Daisuke Miyakawa | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711) | Stefan Grönke | 2017-09-25 | 1 | -1/+1 |
| | |||||
* | Fix trailing colon and newline in test.rst (#1250) | Louie Lu | 2017-04-22 | 1 | -1/+2 |
| | |||||
* | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -2/+2 |
|\ | |||||
| * | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -2/+2 |
| | | |||||
* | | Merge Issue #22558. | Terry Jan Reedy | 2016-06-11 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #22558: Add remaining doc links to source code for Python-coded modules. | Terry Jan Reedy | 2016-06-11 | 1 | -0/+2 |
| | | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi. | ||||
* | | Merge doc and comment fixes from 3.5 | Martin Panter | 2016-04-19 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix spelling (inital), grammar (may translates) in documentation, comments | Martin Panter | 2016-04-19 | 1 | -1/+1 |
| | | |||||
* | | merge with 3.5 | Georg Brandl | 2016-02-26 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵ | Georg Brandl | 2016-02-26 | 1 | -1/+1 |
| | | | | | | | | to SilentGhost for the patch. | ||||
* | | Issue #23883: Add test.support.check__all__() and test gettext.__all__ | Martin Panter | 2015-11-14 | 1 | -0/+42 |
|/ | | | | Patches by Jacek Kołodziej. | ||||
* | Merge typo fixes from 3.4 into 3.5 | Martin Panter | 2015-10-07 | 1 | -1/+1 |
|\ | |||||
| * | Various minor typos in documentation and comments | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| | | |||||
| * | Doc: fix default role usage (except in unittest mock docs) | Georg Brandl | 2014-10-30 | 1 | -3/+3 |
| | | |||||
* | | Fix usage of the default role. | Zachary Ware | 2015-07-07 | 1 | -3/+3 |
| | |