Package: python-codespeak-lib Version: 0.9.0-3.1 Severity: normal --- Please enter the report below this line. ---
$ wget http://sympy.googlecode.com/files/sympy-0.5.3.tar.gz $ tar xzf sympy-0.5.3.tar.gz $ cd sympy-0.5.3 $ py.test [...] sympy/solvers/tests/test_solvers.py[5] ..... sympy/utilities/tests/test_lambdify.py[9] ......... ================= tests finished: 448 passed in 88.69 seconds ================== $ echo "dist_hosts = ['localhost'] * 5" > conftest.py $ py.test -d [...] ================================== FAILURES ================================== sympy-0.5.3 sympy polynomials tests test_polynomials.py test_chebyshev on localhost ________________ entrypoint: test_polynomials.py test_chebyshev ________________ def slave_main(receive, send, path, config): import os assert os.path.exists(path) path = os.path.abspath(path) nodes = {} def getnode(item): node = nodes.get(item[0], None) if node is not None: return node col = py.test.collect.Directory(str(py.path.local(path).join(item[0]))) if config.option.boxed: executor = BoxExecutor else: executor = RunExecutor node = nodes[item[0]] = SlaveNode(config, executor) return node while 1: nextitem = receive() if nextitem is None: break try: node = getnode(nextitem) > res = node.run(nextitem) [/usr/lib/python2.4/site-packages/py/test/rsession/slave.py:54] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def run(self, itemspec): #outcome = self.execute(itemspec) #return outcome.make_repr() > outcome = self.execute(itemspec) [/usr/lib/python2.4/site-packages/py/test/rsession/slave.py:26] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def execute(self, itemspec): > item = self.config._getcollector(itemspec) [/usr/lib/python2.4/site-packages/py/test/rsession/slave.py:19] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _getcollector(self, path): if isinstance(path, tuple): relpath, names = path fspath = self.topdir.join(relpath) col = self._getcollector(fspath) else: path = py.path.local(path) assert path.check(), "%s: path does not exist" %(path,) col = self._getrootcollector(path) names = path.relto(col.fspath).split(path.sep) > return col._getitembynames(names) [/usr/lib/python2.4/site-packages/py/test/config.py:77] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _getitembynames(self, namelist): if isinstance(namelist, str): namelist = namelist.split("/") cur = self for name in namelist: if name: next = cur.join(name) E assert next is not None, (cur, name, namelist) > AssertionError: (<Module 'test_polynomials.py'>, > 'test_chebyshev', ('sympy', 'polynomials', 'tests', 'test_polynomials.py', > 'test_chebyshev')) [/usr/lib/python2.4/site-packages/py/test/collect.py:152] ________________________________________________________________________________ sympy-0.5.3 sympy polynomials tests test_polynomials.py test_hermite on localhost _________________ entrypoint: test_polynomials.py test_hermite _________________ def slave_main(receive, send, path, config): import os assert os.path.exists(path) path = os.path.abspath(path) nodes = {} def getnode(item): node = nodes.get(item[0], None) if node is not None: return node col = py.test.collect.Directory(str(py.path.local(path).join(item[0]))) if config.option.boxed: executor = BoxExecutor else: executor = RunExecutor node = nodes[item[0]] = SlaveNode(config, executor) return node while 1: nextitem = receive() if nextitem is None: break try: node = getnode(nextitem) > res = node.run(nextitem) [/usr/lib/python2.4/site-packages/py/test/rsession/slave.py:54] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def run(self, itemspec): #outcome = self.execute(itemspec) #return outcome.make_repr() > outcome = self.execute(itemspec) [/usr/lib/python2.4/site-packages/py/test/rsession/slave.py:26] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def execute(self, itemspec): > item = self.config._getcollector(itemspec) [/usr/lib/python2.4/site-packages/py/test/rsession/slave.py:19] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _getcollector(self, path): if isinstance(path, tuple): relpath, names = path fspath = self.topdir.join(relpath) col = self._getcollector(fspath) else: path = py.path.local(path) assert path.check(), "%s: path does not exist" %(path,) col = self._getrootcollector(path) names = path.relto(col.fspath).split(path.sep) > return col._getitembynames(names) [/usr/lib/python2.4/site-packages/py/test/config.py:77] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _getitembynames(self, namelist): if isinstance(namelist, str): namelist = namelist.split("/") cur = self for name in namelist: if name: next = cur.join(name) E assert next is not None, (cur, name, namelist) > AssertionError: (<Module 'test_polynomials.py'>, > 'test_hermite', ('sympy', 'polynomials', 'tests', 'test_polynomials.py', > 'test_hermite')) [/usr/lib/python2.4/site-packages/py/test/collect.py:152] ________________________________________________________________________________ =============== 448 test run, 2 failed in 30.96s (rsync: 0.35) ================ I'll be happy to provide more information if needed. I don't see into py.test internals though. I also tried "py.test -d --nomagic" but the same error as above. Ondrej --- System information. --- Architecture: i386 Kernel: Linux 2.6.21-1-686 Debian Release: lenny/sid 500 unstable pc232 500 unstable ftp.cz.debian.org 500 unstable debian.wgdd.de --- Package information. --- Depends (Version) | Installed ===============================-+-============= python-central (>= 0.5.8) | 0.5.15 python (<< 2.6) | 2.4.4-6 python (>= 2.4) | 2.4.4-6 libc6 (>= 2.6.1-1) | 2.6.1-2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]