[New-bugs-announce] [issue31908] trace module cli does not write cover files

Michael Selik report at bugs.python.org
Mon Oct 30 22:55:06 EDT 2017

New submission from Michael Selik <michael.selik at gmail.com>:

The trace module command-line utility doesn't write cover files. I've noticed this issue for some years now. It works fine in Python 2. When using Python 3, no ".cover" files are written, regardless of how "--coverdir" is specified.

    mike on macbook in ~/
    $ echo 'print("hello")' > foo.py

    mike on macbook in ~/
    $ python -m trace --count foo.py

    mike on macbook in ~/
    $ ls *.cover
    ls: *.cover: No such file or directory

My apologies if this is a duplicate bug. I searched the tracker and Google for a while, but couldn't find a relevant issue.

messages: 305268
nosy: Michael Selik
priority: normal
severity: normal
status: open
title: trace module cli does not write cover files
type: behavior
versions: Python 3.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list