diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-08-13 21:32:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 21:32:30 -0700 |
commit | aa4e4a40db531f7095513a4b0aa6510f18162a07 (patch) | |
tree | 45cca7e78f4c65a9baf8c16c7e57326dd9c37b61 /Python | |
parent | da12063f2f53b7d272824863ed24260cefb22e8c (diff) | |
download | cpython-git-aa4e4a40db531f7095513a4b0aa6510f18162a07.tar.gz |
Make regular expressions in test_tasks.py raw strings. (GH-8759)
Follow up to bpo-34270.
Fixes:
```
Lib/test/test_asyncio/test_tasks.py:330: DeprecationWarning: invalid escape sequence \d
match1 = re.match("^<Task pending name='Task-(\d+)'", repr(t1))
Lib/test/test_asyncio/test_tasks.py:332: DeprecationWarning: invalid escape sequence \d
match2 = re.match("^<Task pending name='Task-(\d+)'", repr(t2))
```
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions