MCPcopy
hub / github.com/cool-RR/PySnooper / Bad

Class Bad

tests/test_pysnooper.py:629–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627@pytest.mark.parametrize("normalize", (True, False))
628def test_repr_exception(normalize):
629 class Bad(object):
630 def __repr__(self):
631 1 / 0
632
633 @pysnooper.snoop(normalize=normalize, color=False)
634 def my_function():

Callers 1

my_functionFunction · 0.85

Calls

no outgoing calls

Tested by 1

my_functionFunction · 0.68