summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dataclasses
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] gh-119260: Clarify is_dataclass Behavior for Subclasses in ↵Miss Islington (bot)2024-05-301-0/+18
| | | | | | | | | Documentation and Tests (GH-119480) (#119761) gh-119260: Clarify is_dataclass Behavior for Subclasses in Documentation and Tests (GH-119480) (cherry picked from commit bf4ff3ad2e362801e87c85fffd9e140b774cef26) Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com> Co-authored-by: Carl Meyer <carl@oddbird.net>
* [3.12] gh-119581: Add a test of InitVar with name shadowing (GH-119582) ↵Miss Islington (bot)2024-05-281-0/+23
| | | | | | | | (#119673) gh-119581: Add a test of InitVar with name shadowing (GH-119582) (cherry picked from commit 6ec371223dff4da7719039e271f35a16a5b861c6) Co-authored-by: Steven Troxler <steven.troxler@gmail.com>
* [3.12] gh-118033: Fix `__weakref__` not set for generic dataclasses ↵Miss Islington (bot)2024-05-091-0/+106
| | | | | | | | (GH-118099) (#118822) gh-118033: Fix `__weakref__` not set for generic dataclasses (GH-118099) (cherry picked from commit fa9b9cb11379806843ae03b1e4ad4ccd95a63c02) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-105866: fix dataclass with slots=True, weakref_slot=True ↵Miss Islington (bot)2024-03-191-0/+11
| | | | | | | | | (GH-105870) (GH-116978) (cherry picked from commit a22d05f04c074dbb4f71e7837f54c0bb693db75d) Co-authored-by: Aviel Boag <avboag@gmail.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Carl Meyer <carl@oddbird.net>
* [3.12] gh-115285: Fix `test_dataclasses` with `-OO` mode (GH-115286) (#115359)Miss Islington (bot)2024-02-121-0/+3
| | | | | | gh-115285: Fix `test_dataclasses` with `-OO` mode (GH-115286) (cherry picked from commit 4297d7301b97aba2e0df9f9cc5fa4010e53a8950) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-108303: Create Lib/test/test_dataclasses/ directory (GH-108978) ↵Miss Islington (bot)2023-10-026-0/+4687
(#109674) * gh-108303: Create Lib/test/test_dataclasses/ directory (GH-108978) Move test_dataclasses.py and its "dataclass_*.py" modules into the new Lib/test/test_dataclasses/ subdirectory. (cherry picked from commit 14d6e197cc56e5256d501839a4e66e3864ab15f0) Co-authored-by: Victor Stinner <vstinner@python.org> * Fix Lint job: update Lib/test/.ruff.toml --------- Co-authored-by: Victor Stinner <vstinner@python.org>