call site 11 for path.local.visit
misc/testing/test_initpkg.py - line 90
89
90
   def test_getzipdata():
->     s = py.__pkg__.getzipdata()
initpkg.py - line 141
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
   def getzipdata(self):
       """ return string representing a zipfile containing the package. """
       import zipfile
       import py
       try:
           from cStringIO import StringIO
       except ImportError:
           from StringIO import StringIO
       base = py.__pkg__.getpath().dirpath()
       outf = StringIO()
       f = zipfile.ZipFile(outf, 'w', compression=zipfile.ZIP_DEFLATED)
       try:
->         for x in self._iterfiles():
               f.write(str(x), x.relto(base))
       finally:
           f.close()
       return outf.getvalue()
initpkg.py - line 113
109
110
111
112
113
114
   def _iterfiles(self):
       from py.__.path.common import checker
       base = self.getpath()
       for x in base.visit(checker(file=1, notext='.pyc'),
->                         rec=checker(dotfile=0)):
           yield x