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

Warning om tests usind python 3.6 #38

Closed
tuxmaster5000 opened this issue Jul 4, 2019 · 1 comment
Closed

Warning om tests usind python 3.6 #38

tuxmaster5000 opened this issue Jul 4, 2019 · 1 comment

Comments

@tuxmaster5000
Copy link

Using python 3.6 to build it, will show some warnings at the test stage.:

=============================== warnings summary ===============================
/usr/lib/python3.6/site-packages/_pytest/mark/structures.py:337
/usr/lib/python3.6/site-packages/_pytest/mark/structures.py:337: PytestUnknownMarkWarning: Unknown pytest.mark.pep8 - is this a typo? You can register custom marks to avoid this warning - for details, see htt
ps://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

spec2scl/settings.py:24
spec2scl/settings.py
/builddir/build/BUILD/spec2scl-1.2.1/spec2scl/settings.py:24: DeprecationWarning: invalid escape sequence \E
SCL_ENABLE = '%{?scl:scl enable %{scl} - << \EOF}\nset -ex\n'

tests/transformer_test_case.py:4
tests/transformer_test_case.py
/builddir/build/BUILD/spec2scl-1.2.1/tests/transformer_test_case.py:4: DeprecationWarning: invalid escape sequence \E
scl_enable = '%{?scl:scl enable %{scl} - << \EOF}\nset -ex\n'

-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 116 passed, 5 warnings in 0.95 seconds ====================

@khardix
Copy link
Collaborator

khardix commented Aug 9, 2019

Thanks fo the report!

invalid escape sequence \E

Should be fixed by 5ba9b50.

Unknown pytest.mark.pep8

This is an issue in pytest-pep8 which should have no impact on our code. b78aaca adds a warning filter to silence it.

@khardix khardix closed this as completed in 0f29976 Aug 9, 2019
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