summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_streams.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-09-10 04:39:10 (GMT)
committerGuido van Rossum <guido@python.org>2016-09-10 04:39:10 (GMT)
commite617521b0d17a9bda9c4ecd5248257c482d6f82c (patch)
treeb53075e59cb7aac769089e845ed2b7dc6aa3c220 /Lib/test/test_asyncio/test_streams.py
parent528db31bd90fcf2603e7bcc416e010674872e6d3 (diff)
downloadcpython-e617521b0d17a9bda9c4ecd5248257c482d6f82c.zip
cpython-e617521b0d17a9bda9c4ecd5248257c482d6f82c.tar.gz
cpython-e617521b0d17a9bda9c4ecd5248257c482d6f82c.tar.bz2
Use raw string for regexp
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
-rw-r--r--Lib/test/test_asyncio/test_streams.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py
index 1783d5f..35557c3 100644
--- a/Lib/test/test_asyncio/test_streams.py
+++ b/Lib/test/test_asyncio/test_streams.py
@@ -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