Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyO3/pyo3
/ test_python_subclassing
Function
test_python_subclassing
pytests/tests/test_subclassing.py:9–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
8
9
def
test_python_subclassing():
10
a = SomeSubClass()
11
assert str(a) ==
"SomeSubclass"
12
assert type(a) is SomeSubClass
13
14
15
def
test_rust_subclassing():
Callers
nothing calls this directly
Calls
1
SomeSubClass
Class · 0.85
Tested by
no test coverage detected