On some platforms, sys.version contains newline characters. This causes errors with the request library. Use the more machine friendly platform.python_version, as recommended.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Running pytest locally.
Checklist:
[x] I have performed a self-review of my own code
[ ] I have commented my code in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have made corresponding changes to the architecture
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Pull Request Template
Description
On some platforms,
sys.version
contains newline characters. This causes errors with the request library. Use the more machine friendlyplatform.python_version
, as recommended.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Running
pytest
locally.Checklist: