got the following error while running our tests. py 1.0.0 works for us: [py26] [git:master] ~/rl/ % py.test ============================================================================================= test session starts ============================================================================================= python: platform linux2 -- Python 2.6.4 -- pytest-1.1.1 test object 1: /home/test/rl Traceback (most recent call last): File "/home/test/py26/bin/py.test", line 9, in <module> load_entry_point('py==1.1.1', 'console_scripts', 'py.test')() File "/home/test/py26/lib/python2.6/site-packages/py/impl/test/cmdline.py", line 16, in main exitstatus = session.main() File "/home/test/py26/lib/python2.6/site-packages/py/impl/test/session.py", line 121, in main self.config.pluginmanager.notify_exception(captured_excinfo) File "/home/test/py26/lib/python2.6/site-packages/py/impl/test/pluginmanager.py", line 184, in notify_exception excrepr = excinfo.getrepr(funcargs=True, showlocals=True) File "/home/test/py26/lib/python2.6/site-packages/py/impl/code/code.py", line 413, in getrepr return fmt.repr_excinfo(self) File "/home/test/py26/lib/python2.6/site-packages/py/impl/code/code.py", line 574, in repr_excinfo reprtraceback = self.repr_traceback(excinfo) File "/home/test/py26/lib/python2.6/site-packages/py/impl/code/code.py", line 566, in repr_traceback reprentry = self.repr_traceback_entry(entry, einfo) File "/home/test/py26/lib/python2.6/site-packages/py/impl/code/code.py", line 521, in repr_traceback_entry source = self._getentrysource(entry) File "/home/test/py26/lib/python2.6/site-packages/py/impl/code/code.py", line 449, in _getentrysource source = entry.getsource() File "/home/test/py26/lib/python2.6/site-packages/py/impl/code/code.py", line 221, in getsource _, end = source.getstatementrange(end) File "/home/test/py26/lib/python2.6/site-packages/py/impl/code/source.py", line 131, in getstatementrange if trysource.isparseable(): File "/home/test/py26/lib/python2.6/site-packages/py/impl/code/source.py", line 165, in isparseable syntax_checker = parser.suite AttributeError: 'module' object has no attribute 'suite'
Any ideas? _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev