https://github.com/python/cpython/commit/45c447bf91ffabe4c0ba6d18f37d4e58925d5c91 commit: 45c447bf91ffabe4c0ba6d18f37d4e58925d5c91 branch: main author: Bénédikt Tran <10796600+picn...@users.noreply.github.com> committer: picnixz <10796600+picn...@users.noreply.github.com> date: 2025-04-14T15:06:38Z summary:
gh-132515: de-duplicate `test_dataclass_derived_generic_from_slotted_base` (#132516) 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 869a043211b0a1..a97b77a68f016c 100644 --- a/Lib/test/test_dataclasses/__init__.py +++ b/Lib/test/test_dataclasses/__init__.py @@ -3635,7 +3635,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 @@ -3715,7 +3714,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