diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-04-10 09:54:19 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-04-10 09:54:19 (GMT) |
commit | 1c5e281df82575627d5874d28f7f694817e7027f (patch) | |
tree | 36ef620c1520e300eb5aee89769c6368d6332c42 /Lib | |
parent | 6bd687e0f27e180944f7f8dbc74f820ac9377f4f (diff) | |
parent | 93da9b5e578a1bd29bcd915a8adc8353596b3a4d (diff) | |
download | cpython-1c5e281df82575627d5874d28f7f694817e7027f.zip cpython-1c5e281df82575627d5874d28f7f694817e7027f.tar.gz cpython-1c5e281df82575627d5874d28f7f694817e7027f.tar.bz2 |
Use assertRaisesRegex instead of deprecated assertRaisesRegexp.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_xmlrpc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py index dc37be2..9880f4a 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -909,7 +909,7 @@ class GzipUtilTestCase(unittest.TestCase): encoded = xmlrpclib.gzip_encode(data) with self.assertRaisesRegex(ValueError, - "max gzipped payload length exceeded"): + "max gzipped payload length exceeded"): xmlrpclib.gzip_decode(encoded) xmlrpclib.gzip_decode(encoded, max_decode=-1) |