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

Fix non-raw strings containing escape characters #13

Merged
merged 1 commit into from
Oct 30, 2019
Merged

Fix non-raw strings containing escape characters #13

merged 1 commit into from
Oct 30, 2019

Conversation

jamesjer
Copy link
Contributor

This fixes python warnings about invalid escape sequences. Check the change to CODE_WITH_OUTPUT in from_notebook.py; I am not certain that that is what is intended. Also, changing the strings in test_builders.py and test_codelinks.py to raw strings unfortunately required removing the initial line-ending escape, which makes the code a little less pretty. The alternative is to leave them as non-raw strings and double the other escape characters.

@matthew-brett
Copy link
Owner

That looks right - I'll merge when the tests pass.

@matthew-brett matthew-brett merged commit fb1097a into matthew-brett:master Oct 30, 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

Successfully merging this pull request may close these issues.

None yet

2 participants