We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_dataclass_derived_generic_from_slotted_base
1 parent 4865c09 commit 45c447bCopy full SHA for 45c447b
Lib/test/test_dataclasses/__init__.py
@@ -3635,7 +3635,6 @@ class A(Base):
3635
a_ref = weakref.ref(a)
3636
self.assertIs(a.__weakref__, a_ref)
3637
3638
-
3639
def test_dataclass_derived_weakref_slot(self):
3640
class A:
3641
pass
@@ -3715,7 +3714,7 @@ class F[T2](WithSlots):
3715
3714
self.assertTrue(F.__weakref__)
3716
F()
3717
3718
- def test_dataclass_derived_generic_from_slotted_base(self):
+ def test_dataclass_derived_generic_from_slotted_base_with_weakref(self):
3719
T = typing.TypeVar('T')
3720
3721
class WithWeakrefSlot:
0 commit comments