MCPcopy
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_ioFunction · 0.85
test_thread_infoFunction · 0.85
test_multi_thread_infoFunction · 0.85
test_callableFunction · 0.85
test_watchFunction · 0.85
test_watch_explodeFunction · 0.85
test_variables_classesFunction · 0.85
test_long_variableFunction · 0.85
test_repr_exceptionFunction · 0.85

Calls 4

squareMethod · 0.95
FooClass · 0.85
WithSlotsClass · 0.85
BadClass · 0.85

Tested by

no test coverage detected