diff options
| author | Benjamin Peterson <benjamin@python.org> | 2018-08-14 04:32:30 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-14 04:32:30 (GMT) |
| commit | aa4e4a40db531f7095513a4b0aa6510f18162a07 (patch) | |
| tree | 45cca7e78f4c65a9baf8c16c7e57326dd9c37b61 /Lib/difflib.py | |
| parent | da12063f2f53b7d272824863ed24260cefb22e8c (diff) | |
| download | cpython-aa4e4a40db531f7095513a4b0aa6510f18162a07.zip cpython-aa4e4a40db531f7095513a4b0aa6510f18162a07.tar.gz cpython-aa4e4a40db531f7095513a4b0aa6510f18162a07.tar.bz2 | |
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 'Lib/difflib.py')
0 files changed, 0 insertions, 0 deletions
