--- 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.
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to