We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da12063 commit aa4e4a4Copy full SHA for aa4e4a4
Lib/test/test_asyncio/test_tasks.py
@@ -327,9 +327,9 @@ def notmuch():
327
t2 = self.new_task(self.loop, notmuch(), None)
328
self.assertNotEqual(repr(t1), repr(t2))
329
330
- match1 = re.match("^<Task pending name='Task-(\d+)'", repr(t1))
+ match1 = re.match(r"^<Task pending name='Task-(\d+)'", repr(t1))
331
self.assertIsNotNone(match1)
332
- match2 = re.match("^<Task pending name='Task-(\d+)'", repr(t2))
+ match2 = re.match(r"^<Task pending name='Task-(\d+)'", repr(t2))
333
self.assertIsNotNone(match2)
334
335
# Autogenerated task names should have monotonically increasing numbers
0 commit comments