Skip to content

Commit a50aa33

Browse files
[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 45c447b) Co-authored-by: Bénédikt Tran <[email protected]>
1 parent fd0bba6 commit a50aa33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_dataclasses/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3590,7 +3590,6 @@ class A(Base):
35903590
a_ref = weakref.ref(a)
35913591
self.assertIs(a.__weakref__, a_ref)
35923592

3593-
35943593
def test_dataclass_derived_weakref_slot(self):
35953594
class A:
35963595
pass
@@ -3670,7 +3669,7 @@ class F[T2](WithSlots):
36703669
self.assertTrue(F.__weakref__)
36713670
F()
36723671

3673-
def test_dataclass_derived_generic_from_slotted_base(self):
3672+
def test_dataclass_derived_generic_from_slotted_base_with_weakref(self):
36743673
T = typing.TypeVar('T')
36753674

36763675
class WithWeakrefSlot:

0 commit comments

Comments
 (0)