[py-dev] New issue 119 in py-trunk: Fail to impot __init__.py - INTERNALERROR> self = <py._test.session.Session object at 0x022B5E30>

issues-noreply at bitbucket.org issues-noreply at bitbucket.org
Tue Sep 14 13:49:29 CEST 2010


--- you can reply above this line ---

New issue 119: Fail to impot __init__.py - INTERNALERROR> self = <py._test.session.Session object at 0x022B5E30>
http://bitbucket.org/hpk42/py-trunk/issue/119/fail-to-impot-__init__py-internalerror

sorin on Tue, 14 Sep 2010 13:49:29 +0200:

Description:
  For some reason py.test fails on any __init__.py file.

How to reproduce:
* create an empty __init__.py
* execute py.test --collectonly



<Directory '1'>
  <Module '__init__.py'>
INTERNALERROR> self = <py._test.session.Session object at 0x02289EB0>
INTERNALERROR> colitems = [<Directory '1'>]
INTERNALERROR> 
INTERNALERROR>     def main(self, colitems):
INTERNALERROR>         """ main loop for running tests. """
INTERNALERROR>         self.shouldstop = False
INTERNALERROR>         self.sessionstarts()
INTERNALERROR>         exitstatus = EXIT_OK
INTERNALERROR>         try:
INTERNALERROR> >           self._mainloop(colitems)
INTERNALERROR> 
INTERNALERROR> colitems   = [<Directory '1'>]
INTERNALERROR> exitstatus = 0
INTERNALERROR> self       = <py._test.session.Session object at 0x02289EB0>
INTERNALERROR> 
INTERNALERROR> C:\lib\Python26.x86\lib\site-packages\py-1.3.3-py2.6.egg\py\_test\session.py:113: 
INTERNALERROR> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
...

Responsible:
  hpk42
-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.



More information about the Pytest-dev mailing list