Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ (#94043) | Victor Stinner | 2022-06-21 | 1 | -477/+0 |
| | | | | | | | | * Move Lib/unittest/test/ to Lib/test/test_unittest/ * Remove Lib/test/test_unittest.py * Replace unittest.test with test.test_unittest * Remove unittest.load_tests() * Rewrite unittest __init__.py and __main__.py * Update build system, CODEOWNERS, and wasm_assets.py | ||||
* | gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) | Victor Stinner | 2022-05-06 | 1 | -1/+3 |
| | | | | | Fix tests failing with the PYTHONSAFEPATH=1 env var. Enhance also -P help in Python usage (python --help). | ||||
* | bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) | Christian Heimes | 2022-03-22 | 1 | -0/+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-45162: Revert "Remove many old deprecated unittest features" (GH-30935) | Gregory P. Smith | 2022-01-27 | 1 | -8/+8 |
| | | | | | | | | | | Revert "bpo-45162: Remove many old deprecated unittest features (GH-28268)" This reverts commit b0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b. We're deferring this change until 3.12 while upstream projects that use the legacy assertion method names are fixed. See the issue for links to the discussion. Many upstream projects now have issues and PRs filed. | ||||
* | bpo-46425: Fix direct invocation of multiple test modules (GH-30666) | Nikita Sobolev | 2022-01-18 | 1 | -1/+1 |
| | |||||
* | bpo-22815: Print unexpected successes in summary in TextTestResult (GH-30138) | Serhiy Storchaka | 2021-12-26 | 1 | -8/+32 |
| | |||||
* | bpo-46111: Fix unittest tests in optimized mode (GH-30163) | Serhiy Storchaka | 2021-12-17 | 1 | -2/+2 |
| | |||||
* | bpo-13236: Flush the output stream more often in unittest (GH-29864) | Serhiy Storchaka | 2021-12-04 | 1 | -3/+13 |
| | | | It can prevent some losses when output to buffered stream. | ||||
* | bpo-45162: Remove many old deprecated unittest features (GH-28268) | Serhiy Storchaka | 2021-09-17 | 1 | -8/+8 |
| | | | | | | | * "fail*" and "assert*" aliases of TestCase methods. * Broken from start TestCase method assertDictContainsSubset(). * Ignored TestLoader.loadTestsFromModule() parameter use_load_tests. * Old alias _TextTestResult of TextTestResult. | ||||
* | bpo-40462: fix variable and function names (GH-19832) | Furkan Önder | 2020-05-01 | 1 | -2/+0 |
| | | | Automerge-Triggered-By: @vstinner | ||||
* | bpo-32071: Add unittest -k option (#4496) | Jonas Haag | 2017-11-25 | 1 | -0/+28 |
| | | | | * bpo-32071: Add unittest -k option | ||||
* | Issue #22936: Allow showing local variables in unittest errors. | Robert Collins | 2015-03-06 | 1 | -4/+22 |
| | |||||
* | #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. | Ezio Melotti | 2014-08-07 | 1 | -0/+1 |
| | |||||
* | Issue #17974: Switch unittest from using getopt to using argparse. | Serhiy Storchaka | 2013-08-29 | 1 | -9/+28 |
| | |||||
* | #18741: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
|\ | |||||
| * | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | | |||||
* | | #17510: avoid using deprecated assertEquals method in test_program. Patch ↵ | Ezio Melotti | 2013-03-23 | 1 | -2/+2 |
| | | | | | | | | by Daniel Black. | ||||
* | | Issue #15132: Allow a list for the defaultTest argument of unittest.TestProgram | Petri Lehtinen | 2013-02-23 | 1 | -0/+35 |
|/ | | | | Patch by Jyrki Pulliainen | ||||
* | Refactor unittest command line handling to always use optparse | Michael Foord | 2012-03-12 | 1 | -17/+0 |
| | |||||
* | Save a copy of sys.warnoptions in test_program. | Ezio Melotti | 2011-03-20 | 1 | -1/+1 |
| | |||||
* | Fix minor issue in implementation of issue 10470. | Michael Foord | 2010-12-19 | 1 | -0/+1 |
| | |||||
* | Correct comment in unittest test | Michael Foord | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | Issue 10620: Specifying test modules by path instead of module name to ↵ | Michael Foord | 2010-12-04 | 1 | -0/+79 |
| | | | | 'python -m unittest' | ||||
* | #10535: Enable silenced warnings in unittest by default | Ezio Melotti | 2010-12-01 | 1 | -1/+24 |
| | |||||
* | Merged revisions 80920 via svnmerge from | Michael Foord | 2010-05-07 | 1 | -0/+164 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80920 | michael.foord | 2010-05-07 17:52:05 +0200 (Fri, 07 May 2010) | 1 line Adding tests for unittest command line handling of buffer, catchbreak and failfast. ........ | ||||
* | Merged revisions 80918 via svnmerge from | Michael Foord | 2010-05-07 | 1 | -0/+17 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80918 | michael.foord | 2010-05-07 17:34:08 +0200 (Fri, 07 May 2010) | 1 line Adding a test for unittest test discovery with dotted path name. ........ | ||||
* | Breaking test_unittest.py into a package. Manual merge of revision 79432. | Michael Foord | 2010-03-27 | 1 | -0/+74 |