MCPcopy Create free account
hub / github.com/kernc/backtesting.py / Object

Class Object

backtesting/test/_test.py:1006–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004
1005 def test_patch(self):
1006 class Object:
1007 pass
1008 o = Object()
1009 o.attr = False
1010 with patch(o, 'attr', True):

Callers 1

test_patchMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_patchMethod · 0.68