Skip to content

Commit 45c447b

Browse files
authored
gh-132515: de-duplicate test_dataclass_derived_generic_from_slotted_base (#132516)
1 parent 4865c09 commit 45c447b

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
@@ -3635,7 +3635,6 @@ class A(Base):
36353635
a_ref = weakref.ref(a)
36363636
self.assertIs(a.__weakref__, a_ref)
36373637

3638-
36393638
def test_dataclass_derived_weakref_slot(self):
36403639
class A:
36413640
pass
@@ -3715,7 +3714,7 @@ class F[T2](WithSlots):
37153714
self.assertTrue(F.__weakref__)
37163715
F()
37173716

3718-
def test_dataclass_derived_generic_from_slotted_base(self):
3717+
def test_dataclass_derived_generic_from_slotted_base_with_weakref(self):
37193718
T = typing.TypeVar('T')
37203719

37213720
class WithWeakrefSlot:

0 commit comments

Comments
 (0)