diff options
author | Guido van Rossum <guido@python.org> | 2016-09-10 04:39:10 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2016-09-10 04:39:10 (GMT) |
commit | e617521b0d17a9bda9c4ecd5248257c482d6f82c (patch) | |
tree | b53075e59cb7aac769089e845ed2b7dc6aa3c220 | |
parent | 528db31bd90fcf2603e7bcc416e010674872e6d3 (diff) | |
download | cpython-e617521b0d17a9bda9c4ecd5248257c482d6f82c.zip cpython-e617521b0d17a9bda9c4ecd5248257c482d6f82c.tar.gz cpython-e617521b0d17a9bda9c4ecd5248257c482d6f82c.tar.bz2 |
Use raw string for regexp
-rw-r--r-- | Lib/test/test_asyncio/test_streams.py | 2 |
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 |