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.

classification
Title: Tests fail when run with coverage
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: ezio.melotti, iritkatriel, ned.deily, seydou
Priority: normal Keywords:

Created on 2013-08-12 19:15 by seydou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
tests.out seydou, 2013-08-13 16:35
Messages (5)
msg194988 - (view) Author: Seydou Dia (seydou) * Date: 2013-08-12 19:15
When I run the tests suit with coverage (e.g, ./python COVERAGEDIR run --pylib Lib/test/regrtest.py test_frame), the following tests fails:

 * test_frame
 * test_xml_etree
 * test_threading_local
 * test_super
 * test_importlib

 The tracebacks are available here : http://pastebin.com/j6ScCibV
msg195007 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-08-12 20:15
Please upload the test results as file attachment(s) to this issue.  Files stored elsewhere may disappear.
msg195086 - (view) Author: Seydou Dia (seydou) * Date: 2013-08-13 16:35
The test results have been uploaded.

I forgot to mention in my previous comment the version of Coverage.py used:

changeset:   1463:2c5fb3a8b81c
tag:         tip
user:        Ned Batchelder <ned@nedbatchelder.com>
date:        Sun Jun 09 19:10:28 2013 -0400
summary:     Branch coverage improvement, fixes #90.  Bug #212 fixed on py2, but not py3
msg195407 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-08-16 20:04
It's probably better to open a separate issue for each test module that is failing, possibly by keeping this as a meta-issue.
msg401604 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-09-10 17:51
This is about 8 years old, so closing. Let's open new issues for current failures when we see them.
History
Date User Action Args
2022-04-11 14:57:49adminsetgithub: 62915
2021-09-10 17:51:48iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg401604

resolution: out of date
stage: resolved
2013-08-16 20:04:17ezio.melottisettype: behavior

messages: + msg195407
nosy: + ezio.melotti
2013-08-13 16:35:48seydousetfiles: + tests.out

messages: + msg195086
2013-08-12 20:15:15ned.deilysetnosy: + ned.deily
messages: + msg195007
2013-08-12 19:15:32seydoucreate