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 fd0bba6 commit a50aa33Copy full SHA for a50aa33
Lib/test/test_dataclasses/__init__.py
@@ -3590,7 +3590,6 @@ class A(Base):
3590
a_ref = weakref.ref(a)
3591
self.assertIs(a.__weakref__, a_ref)
3592
3593
-
3594
def test_dataclass_derived_weakref_slot(self):
3595
class A:
3596
pass
@@ -3670,7 +3669,7 @@ class F[T2](WithSlots):
3670
3669
self.assertTrue(F.__weakref__)
3671
F()
3672
3673
- def test_dataclass_derived_generic_from_slotted_base(self):
+ def test_dataclass_derived_generic_from_slotted_base_with_weakref(self):
3674
T = typing.TypeVar('T')
3675
3676
class WithWeakrefSlot:
0 commit comments