call site 6 for test.ensuretemp
apigen/source/testing/test_html.py - line 181
180
181
182
183
184
185
186
187
188
189
   def test_get_encoding_matching_pattern_elsewhere():
->     temp = py.test.ensuretemp('test_get_encoding')
       fpath = temp.join('matching_pattern.py')
       fpath.write(str(py.code.Source("""\
           #!/usr/bin/env python
           
           def foo(coding=None):
               pass
       """)))
       assert get_module_encoding(fpath.strpath) == 'ISO-8859-1'