call site 3 for path.local.__div__
magic/testing/test_autopath.py - line 14
13
14
15
16
17
18
19
20
21
22
23
24
25
26
   def test_import_autoconfigure__file__with_init(self):
->     testpath = self.initdir2 / 'autoconfiguretest.py'
       d = {'__file__' : str(testpath)}
       oldsyspath = sys.path[:]
       try:
           exec self.getauto in d
           conf = d['autopath']
           assert conf.dirpath() == self.initdir2
           assert conf.pkgdir == self.initdir
           assert str(self.root) in sys.path
           exec self.getauto in d
           assert conf is not d['autopath']
       finally:
           sys.path[:] = oldsyspath