mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 17:40:08 +01:00
In Python 3.12 a backslash-character pair that is not a valid escape
sequence generates a SyntaxWarning [1]:
src/tests/client/test-client.py:2161: SyntaxWarning: invalid escape sequence '\?'
nmc.pexp.expect("Do you want to provide them\? \(yes/no\) \[yes]")
Use raw strings to avoid that.
[1] https://docs.python.org/3/whatsnew/3.12.html
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1785
|
||
|---|---|---|
| .. | ||
| client | ||
| README.md | ||
tests
Contains some unit tests that don't clearly fit a category to be placed in a different location.
Maybe a better place should be found and this directory should go away.