https://github.com/python/cpython/commit/a50aa3325b2df379355f1bf7f01b199cc553c708 commit: a50aa3325b2df379355f1bf7f01b199cc553c708 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: picnixz <10796600+picn...@users.noreply.github.com> date: 2025-04-14T15:29:20Z summary:
[3.13] gh-132515: de-duplicate `test_dataclass_derived_generic_from_slotted_base` (GH-132516) (#132518) gh-132515: de-duplicate `test_dataclass_derived_generic_from_slotted_base` (GH-132516) (cherry picked from commit 45c447bf91ffabe4c0ba6d18f37d4e58925d5c91) Co-authored-by: Bénédikt Tran <10796600+picn...@users.noreply.github.com> files: M Lib/test/test_dataclasses/__init__.py diff --git a/Lib/test/test_dataclasses/__init__.py b/Lib/test/test_dataclasses/__init__.py index 876dbc773285aa..9065b9d773c320 100644 --- a/Lib/test/test_dataclasses/__init__.py +++ b/Lib/test/test_dataclasses/__init__.py @@ -3590,7 +3590,6 @@ class A(Base): a_ref = weakref.ref(a) self.assertIs(a.__weakref__, a_ref) - def test_dataclass_derived_weakref_slot(self): class A: pass @@ -3670,7 +3669,7 @@ class F[T2](WithSlots): self.assertTrue(F.__weakref__) F() - def test_dataclass_derived_generic_from_slotted_base(self): + def test_dataclass_derived_generic_from_slotted_base_with_weakref(self): T = typing.TypeVar('T') class WithWeakrefSlot: _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com