call site 2 for magic.patch
magic/testing/test_patch.py - line 10
4
5
6
7
8
9
10
11
12
13
   def test_patch_revert():
       class a:
           pass
       raises(AttributeError, "patch(a, 'i', 42)")
   
       a.i = 42
->     patch(a, 'i', 23)
       assert a.i == 23
       revert(a, 'i')
       assert a.i == 42