mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Use raw string for regexp
This commit is contained in:
parent
528db31bd9
commit
e617521b0d
1 changed files with 1 additions and 1 deletions
|
@ -831,7 +831,7 @@ os.close(fd)
|
|||
stream._waiter = asyncio.Future(loop=self.loop)
|
||||
self.assertRegex(
|
||||
repr(stream),
|
||||
"<StreamReader w=<Future pending[\S ]*>>")
|
||||
r"<StreamReader w=<Future pending[\S ]*>>")
|
||||
stream._waiter.set_result(None)
|
||||
self.loop.run_until_complete(stream._waiter)
|
||||
stream._waiter = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue