We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running python3.6 -mpytest tests raises a DeprecationWarning
python3.6 -mpytest tests
tests/test_c_lexer.py:166 /tmp/pycparser/tests/test_c_lexer.py:166: DeprecationWarning: invalid escape sequence \9 '"jx\9"', tests/test_c_lexer.py:169 /tmp/pycparser/tests/test_c_lexer.py:169: DeprecationWarning: invalid escape sequence \9 '"fo\9999999"', -- Docs: https://docs.pytest.org/en/latest/warnings.html
It seems all the re.compile expressions should be using r raw strings?
re.compile
r
xref numpy/numpy#14554
The text was updated successfully, but these errors were encountered:
Thanks for the report. I'll accept PRs to fix this
Sorry, something went wrong.
I'm starting to plan for releasing a new version -- see #365
If you want this fix in, hurry up :-) I actually can't reproduce the warning, perhaps because I'm not using pytest.
Fix eliben#349: convert to raw strings in lexer tests
2c286c2
Fix #349: convert to raw strings in lexer tests (#389)
210b089
Successfully merging a pull request may close this issue.
Running
python3.6 -mpytest tests
raises a DeprecationWarningIt seems all the
re.compile
expressions should be usingr
raw strings?xref numpy/numpy#14554
The text was updated successfully, but these errors were encountered: