Merge 3.5

This commit is contained in:
Yury Selivanov 2015-12-16 19:40:23 -05:00
commit 94a35cc4f8
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ class StreamReaderTests(test_utils.TestCase):
self.assertEqual(b'', data)
self.assertEqual(self.DATA, stream._buffer)
with self.assertRaisesRegexp(ValueError, 'less than zero'):
with self.assertRaisesRegex(ValueError, 'less than zero'):
self.loop.run_until_complete(stream.readexactly(-1))
self.assertEqual(self.DATA, stream._buffer)