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.
__classcell__
1 parent 577bdc7 commit b77ea9fCopy full SHA for b77ea9f
Lib/test/test_typing.py
@@ -8155,6 +8155,10 @@ def count(self, item):
8155
self.assertEqual(ptr.count(0), -1)
8156
self.assertEqual(ptr.count(0xdeadbeef), 1)
8157
8158
+ with self.assertRaises(AttributeError):
8159
+ # __classcell__ should never be leaked into end classes
8160
+ Pointer.__classcell__
8161
+
8162
def test_namedtuple_keyword_usage(self):
8163
with self.assertWarnsRegex(
8164
DeprecationWarning,
0 commit comments