Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cool-RR/PySnooper
/ my_function
Function
my_function
tests/test_pysnooper.py:30–33 ·
view source on GitHub ↗
(foo)
Source
from the content-addressed store, hash-verified
28
29
@pysnooper.snoop(string_io, color=False)
30
def
my_function(foo):
31
x = 7
32
y = 8
33
return
y + x
34
35
result = my_function(
'baba'
)
36
assert result == 15
Callers
15
test_string_io
Function · 0.85
test_thread_info
Function · 0.85
test_multi_thread_info
Function · 0.85
test_callable
Function · 0.85
test_watch
Function · 0.85
test_watch_explode
Function · 0.85
test_variables_classes
Function · 0.85
test_single_watch_no_comma
Function · 0.85
test_long_variable
Function · 0.85
test_long_variable_with_custom_max_variable_length
Function · 0.85
test_long_variable_with_infinite_max_variable_length
Function · 0.85
test_repr_exception
Function · 0.85
Calls
4
square
Method · 0.95
Foo
Class · 0.85
WithSlots
Class · 0.85
Bad
Class · 0.85
Tested by
no test coverage detected