Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoverageWarning: Couldn't parse '...' #71

Closed
mtelka opened this issue Feb 16, 2023 · 1 comment
Closed

CoverageWarning: Couldn't parse '...' #71

mtelka opened this issue Feb 16, 2023 · 1 comment

Comments

@mtelka
Copy link

mtelka commented Feb 16, 2023

python -m pytest reports following coverage warnings:

/usr/lib/python3.9/vendor-packages/coverage/report.py:114: CoverageWarning: Couldn't parse '/tmp/pip-run-690vdrv3/barbazquux.py': No source for code: '/tmp/pip-run-690vdrv3/barbazquux.py'. (couldnt-parse)
/usr/lib/python3.9/vendor-packages/coverage/report.py:114: CoverageWarning: Couldn't parse '/tmp/pip-run-690vdrv3/sitecustomize.py': No source for code: '/tmp/pip-run-690vdrv3/sitecustomize.py'. (couldnt-parse)
/usr/lib/python3.9/vendor-packages/coverage/report.py:114: CoverageWarning: Couldn't parse '/tmp/pip-run-_o4evku3/sample/__init__.py': No source for code: '/tmp/pip-run-_o4evku3/sample/__init__.py'. (couldnt-parse)
/usr/lib/python3.9/vendor-packages/coverage/report.py:114: CoverageWarning: Couldn't parse '/tmp/pip-run-_o4evku3/sitecustomize.py': No source for code: '/tmp/pip-run-_o4evku3/sitecustomize.py'. (couldnt-parse)
/usr/lib/python3.9/vendor-packages/coverage/report.py:114: CoverageWarning: Couldn't parse '/tmp/pip-run-r2lwabci/sample/__init__.py': No source for code: '/tmp/pip-run-r2lwabci/sample/__init__.py'. (couldnt-parse)
/usr/lib/python3.9/vendor-packages/coverage/report.py:114: CoverageWarning: Couldn't parse '/tmp/pip-run-r2lwabci/sitecustomize.py': No source for code: '/tmp/pip-run-r2lwabci/sitecustomize.py'. (couldnt-parse)

Where the actual directory name is changing with every run. It is obviously some temporary directory used during tests.

@jaraco
Copy link
Owner

jaraco commented Apr 15, 2023

Fixed in jaraco/skeleton#56, merged in eb11527.

@jaraco jaraco closed this as completed Apr 15, 2023
jaraco added a commit that referenced this issue May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants