Your message dated Tue, 30 Jun 2015 10:27:43 +0200
with message-id <[email protected]>
and subject line Re: Processed: reassign 675659 to src:debian-science, reassign 
347210 to src:gnutls28 ...
has caused the Debian Bug report #441931,
regarding "py.test -d" fails but "py.test" works
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
441931: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441931
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
On 2015-06-30 05:13:05, Debian Bug Tracking System wrote:
> > reassign 441931 src:codespeak-lib 0.9.0-3.1
> Bug #441931 [python-codespeak-lib] "py.test -d" fails but "py.test" works

I'm closing this bug now. If this is still a problem after seven years, please
reopen it.

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to