MCPcopy Index your code
hub / github.com/RustPython/RustPython / D

Class D

Lib/test/test_typing.py:305–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303 with self.assertRaisesRegex(TypeError,
304 r'Cannot subclass typing\.Self'):
305 class D(Self):
306 pass
307
308 def test_cannot_init(self):
309 with self.assertRaises(TypeError):

Calls

no outgoing calls