-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/asottile/pyupgrade/
find . -iname '*.py' | grep -v example | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./tests/client_test.py:225: DeprecationWarning: invalid escape sequence \/
self.assertTrue(re.search('os (Windows|macOS|Linux)(\/.*)?;', header))
./tests/client_test.py:316: DeprecationWarning: invalid escape sequence \/
self.assertTrue(re.search('os (Windows|macOS|Linux)(\/.*)?;', header))
./tests/client_test.py:340: DeprecationWarning: invalid escape sequence \/
self.assertTrue(re.search('os (Windows|macOS|Linux)(\/.*)?;', header))
Metadata
Metadata
Assignees
Labels
No labels