call site 6 for path.local.__div__
magic/testing/test_autopath.py - line 45
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
   def test_import_autoconfigure___file__without_init(self):
->     testpath = self.root / 'autoconfiguretest.py'
       d = {'__file__' : str(testpath)}
       oldsyspath = sys.path[:]
       try:
           exec self.getauto in d
           conf = d['autopath']
           assert conf.dirpath() == self.root
           assert conf.pkgdir == self.root
           syspath = sys.path[:]
           assert str(self.root) in syspath
           exec self.getauto in d
           assert conf is not d['autopath']
       finally:
           sys.path[:] = oldsyspath