• Benjamin Peterson's avatar
    Make regular expressions in test_tasks.py raw strings. (GH-8759) · aa4e4a40
    Benjamin Peterson yazdı
    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))
    ```
    aa4e4a40
test_tasks.py 102 KB