Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Foo
Class
Foo
Lib/test/test_unittest/test_case.py:34–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
"Keep these TestCase classes out of the main namespace"
33
34
class
Foo(unittest.TestCase):
35
def
runTest(self):
pass
36
def
test1(self):
pass
37
38
class
Bar(Foo):
39
def
test2(self):
pass
Callers
15
test_countTestCases
Method · 0.70
test_defaultTestResult
Method · 0.70
test_run_call_order__error_in_setUp
Method · 0.70
test_run_call_order__error_in_setUp_default_result
Method · 0.70
test_run_call_order__error_in_test
Method · 0.70
test_run_call_order__error_in_test_default_result
Method · 0.70
test_run_call_order__failure_in_test
Method · 0.70
test_run_call_order__failure_in_test_default_result
Method · 0.70
test_run_call_order__error_in_tearDown
Method · 0.70
test_run_call_order__error_in_tearDown_default_result
Method · 0.70
test_run_call_order_default_result
Method · 0.70
test_deprecation_of_return_val_from_test
Method · 0.70
Calls
no outgoing calls
Tested by
15
test_countTestCases
Method · 0.56
test_defaultTestResult
Method · 0.56
test_run_call_order__error_in_setUp
Method · 0.56
test_run_call_order__error_in_setUp_default_result
Method · 0.56
test_run_call_order__error_in_test
Method · 0.56
test_run_call_order__error_in_test_default_result
Method · 0.56
test_run_call_order__failure_in_test
Method · 0.56
test_run_call_order__failure_in_test_default_result
Method · 0.56
test_run_call_order__error_in_tearDown
Method · 0.56
test_run_call_order__error_in_tearDown_default_result
Method · 0.56
test_run_call_order_default_result
Method · 0.56
test_deprecation_of_return_val_from_test
Method · 0.56