Message305268
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
hello
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. |
|
Date |
User |
Action |
Args |
2017-10-31 02:55:06 | Michael Selik | set | recipients:
+ Michael Selik |
2017-10-31 02:55:06 | Michael Selik | set | messageid: <1509418506.94.0.213398074469.issue31908@psf.upfronthosting.co.za> |
2017-10-31 02:55:06 | Michael Selik | link | issue31908 messages |
2017-10-31 02:55:05 | Michael Selik | create | |
|