cpython/Lib/unittest/test/testmock
Christian Heimes deeaac49e2
bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986)
- 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).
2022-03-22 03:04:36 -07:00
..
__init__.py
__main__.py
support.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testasync.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
testcallable.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testhelpers.py bpo-37555: Update _CallList.__contains__ to respect ANY (#14700) 2019-09-13 16:54:32 +01:00
testmagicmethods.py Clarify and fix assertions that mocks have not been awaited (GH-18196) 2020-01-27 14:55:56 +00:00
testmock.py Restrict use of Mock objects as specs (GH-31090) 2022-02-03 00:41:19 -08:00
testpatch.py bpo-41403: Improve error message for invalid mock target (GH-30833) 2022-01-23 18:42:41 +00:00
testsealable.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
testsentinel.py Issue #20804: The unittest.mock.sentinel attributes now preserve their 2017-01-11 20:13:03 +02:00
testwith.py Restrict use of Mock objects as specs (GH-31090) 2022-02-03 00:41:19 -08:00