This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doerwalter
Recipients belopolsky, doerwalter, pitrou, vstinner
Date 2010-11-29.15:16:07
SpamBayes Score 4.053185e-10
Marked as misclassified No
Message-id <1291043768.82.0.420491164239.issue10541@psf.upfronthosting.co.za>
In-reply-to
Content
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, mimetypes, os, posixpath, quopri, random, re, sre_compile, sre_parse, ssl, stat, tempfile, textwrap, trace, uu, warnings).

However running the complete test suite via::

   ./python -mtest.regrtest -T -N -uurlfetch,largefile,network,decimal

fails with::

Not printing coverage data for '/tmp/tmp0fdr9o/t4/sub/subsub/__init__.py': [Errno 2] No such file or directory: '/tmp/tmp0fdr9o/t4/sub/subsub/__init__.py'
Traceback (most recent call last):
  File "/home/coverage/python/Lib/runpy.py", line 160, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/coverage/python/Lib/runpy.py", line 73, in _run_code
    exec(code, run_globals)
  File "/home/coverage/python/Lib/test/regrtest.py", line 1502, in <module>
    main()
  File "/home/coverage/python/Lib/test/regrtest.py", line 698, in main
    r.write_results(show_missing=True, summary=True, coverdir=coverdir)
  File "/home/coverage/python/Lib/trace.py", line 331, in write_results
    with open(filename, 'rb') as fp:
IOError: [Errno 2] No such file or directory: '/tmp/tmp0fdr9o/t4/sub/subsub/__init__.py'
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' encoding='ANSI_X3.4-1968'>

(attached is the complete output of running the test suite (build2.log).)
History
Date User Action Args
2010-11-29 15:16:08doerwaltersetrecipients: + doerwalter, belopolsky, pitrou, vstinner
2010-11-29 15:16:08doerwaltersetmessageid: <1291043768.82.0.420491164239.issue10541@psf.upfronthosting.co.za>
2010-11-29 15:16:07doerwalterlinkissue10541 messages
2010-11-29 15:16:07doerwaltercreate