diff options
-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 079f52c..dc37be2 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -908,7 +908,7 @@ class GzipUtilTestCase(unittest.TestCase): data = b'\0' * (max_gzip_decode + 1) encoded = xmlrpclib.gzip_encode(data) - with self.assertRaisesRegexp(ValueError, + with self.assertRaisesRegex(ValueError, "max gzipped payload length exceeded"): xmlrpclib.gzip_decode(encoded) |