Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ W
Class
W
Lib/test/test_typing.py:507–507 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
505
with
self.assertRaisesRegex(TypeError,
506
CANNOT_SUBCLASS_INSTANCE %
'TypeVar'
):
507
class
W(T):
pass
508
509
def
test_cannot_instantiate_vars(self):
510
with
self.assertRaises(TypeError):
Callers
1
cdf
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected