cpython/Lib/unittest
Miss Islington (bot) 79df5d1c54
[3.14] gh-135368: Fix mocks on dataclass specs with instance=True (GH-135421) (#135503)
gh-135368: Fix mocks on dataclass specs with `instance=True` (GH-135421)

* gh-135368: Fix mocks on dataclass specs with `instance=True`

* Extend dataclass mock_methods

---------
(cherry picked from commit c8319a3fea)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2025-06-14 09:11:31 +00:00
..
__init__.py gh-126133: Only use start year in PSF copyright, remove end years (#126236) 2024-11-12 15:59:19 +02:00
__main__.py
_log.py
async_case.py gh-128398: improve error messages when incorrectly using with and async with (#132218) 2025-04-19 10:44:01 +02:00
case.py gh-128398: improve error messages when incorrectly using with and async with (#132218) 2025-04-19 10:44:01 +02:00
loader.py gh-80958: unittest: discovery support for namespace packages as start directory (#123820) 2024-10-23 13:41:33 +09:00
main.py gh-130645: Add color to stdlib argparse CLIs (gh-133380) 2025-05-05 19:46:46 +02:00
mock.py [3.14] gh-135368: Fix mocks on dataclass specs with instance=True (GH-135421) (#135503) 2025-06-14 09:11:31 +00:00
result.py gh-128595: Default to stdout isatty for colour detection instead of stderr (#128498) 2025-01-20 12:52:42 +02:00
runner.py gh-133346: Make theming support in _colorize extensible (GH-133347) 2025-05-05 23:45:25 +02:00
signals.py
suite.py
util.py