8000 print-tock-memory-usage.py: fix regex warnings by hudson-ayers · Pull Request #3893 · tock/tock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

print-tock-memory-usage.py: fix regex warnings #3893

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

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

hudson-ayers
Copy link
Contributor

Pull Request Overview

This pull request should fix #3874 . The issue is that you need to pass a raw string when constructing a regex using regex-specific escape sequences.

I did not see the warning when compiling locally so going to look at the CI output to see if this fix works.

Testing Strategy

This pull request was tested by...

TODO or Help Wanted

This pull request still needs...

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

8000
@bradjc
Copy link
Contributor
bradjc commented Mar 1, 2024

Nope :(

image

@hudson-ayers
Copy link
Contributor Author

@bradjc I believe that is because for one of the runs the github actions script uses the version of the print_tock_memory_usage.py that is currently in master, not the one in the PR branch

@bradjc
Copy link
Contributor
bradjc commented Mar 4, 2024

Should we merge this?

@alevy alevy added this pull request to the merge queue Mar 4, 2024
Merged via the queue into tock:master with commit 6bb6a1c Mar 4, 2024
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.

tock_memory_usage: SyntaxWarning: invalid escape sequence '\S'
4 participants
0