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

Class WithSlots

tests/test_pysnooper.py:447–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445@pytest.mark.parametrize("normalize", (True, False))
446def test_variables_classes(normalize):
447 class WithSlots(object):
448 __slots__ = ('x', 'y')
449
450 def __init__(self):
451 self.x = 3
452 self.y = 4
453
454 @pysnooper.snoop(watch=(
455 pysnooper.Keys('_d', exclude='c'),

Callers 1

my_functionFunction · 0.85

Calls

no outgoing calls

Tested by 1

my_functionFunction · 0.68