Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
versions: +Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
Roundup Robot added the comment:
New changeset 10cf594ace4b by Alexander Belopolsky in branch 'default':
Fixes #10541: regrtest -T is broken
http://hg.python.org/cpython/rev/10cf594ace4b
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: commit review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
___
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: -eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
___
Python-bugs-list
Brett Cannon added the comment:
Alexander's patch LGTM
--
assignee: - belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
___
Brett Cannon br...@python.org added the comment:
At least the test_trace fix for preventing the complete destruction of any
preset trace should be looked at and possibly applied separately (prevents
coverage.py from covering the entire test suite as well). Should probably add a
test to
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: -terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
___
Python-bugs-list
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +eli.bendersky, terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Here is a simpler invocation that produces a similar error:
$ ./python.exe -m test.regrtest -T test_trace test_pkg
...
IOError: [Errno 2] No such file or directory:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I am attaching a patch that fixes write_results() and makes test_trace tests
restore the tracefunc after they run. This fixes generation off the coverage
files, but many tests still fail when traced.
--
Changes by R. David Murray rdmur...@bitdance.com:
--
stage: - needs patch
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
Walter Dörwald wal...@livinglogic.de added the comment:
OK, I reran the test with::
./python -mtest.regrtest -T -N test_urllib
and this does indeed produce coverage files (for _abcoll, _weakrefset, abc,
base64, codecs, collections, contextlib, functools, genericpath, hashlib,
locale,
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: haypo -
resolution: invalid -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Apparently something in the test changes the cwd.
Both of the following invocations work:
$ ./python.exe `pwd`/Lib/test/regrtest.py -T -N test_urllib
$ ./python.exe -m test.regrtest -T -N test_urllib
I would suggest
Antoine Pitrou pit...@free.fr added the comment:
`make coverage` is fine, you just have to use the -m test.regrtest form when
running the tests.
--
nosy: +pitrou
resolution: - invalid
status: open - pending
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I would like to investigate this some more. In theory, regrtest should restore
cwd before coverage results are written.
--
status: pending - open
___
Python tracker
New submission from Walter Dörwald wal...@livinglogic.de:
Running regrtest.py with coverage option seems to be broken for the py3k branch
at the moment. Run the following commands on the shell:
wget http://svn.python.org/snapshots/python3k.tar.bz2
tar xjf python3k.tar.bz2
cd python
./configure
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
___
20 matches
Mail list logo