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

Don't write bytecode when invoking Python tests #611

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Feb 2, 2024

This should help to avoid writing compiled bytecode into the source directories of Python packages during test invocation.

https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE

This should help to avoid writing compiled bytecode into the source
directories of Python packages during test invocation.
@cottsay cottsay self-assigned this Feb 2, 2024
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (291f16c) 83.30% compared to head (6cb4447) 82.78%.

Files Patch % Lines
colcon_core/task/python/test/__init__.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #611      +/-   ##
==========================================
- Coverage   83.30%   82.78%   -0.52%     
==========================================
  Files          65       65              
  Lines        3762     3765       +3     
  Branches      727      649      -78     
==========================================
- Hits         3134     3117      -17     
- Misses        552      568      +16     
- Partials       76       80       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cottsay cottsay merged commit 6529b6b into master Feb 2, 2024
35 checks passed
@delete-merged-branch delete-merged-branch bot deleted the cottsay/python-testing-bytecode branch February 2, 2024 21:25
@cottsay cottsay added the bug Something isn't working label Feb 3, 2024
@cottsay cottsay added this to the 0.15.3 milestone Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants