summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httplib.py
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-08-23 17:19:15 (GMT)
committerGitHub <noreply@github.com>2019-08-23 17:19:15 (GMT)
commit8f080b09953a2d862de5c74edf414a54ea3dbea5 (patch)
tree3b6b0ac4d6ae181dc5e1150fba3c9e3021ca3e91 /Lib/test/test_httplib.py
parent120b707a6d43452e067daa55a8fdca69f9424abc (diff)
downloadcpython-8f080b09953a2d862de5c74edf414a54ea3dbea5.zip
cpython-8f080b09953a2d862de5c74edf414a54ea3dbea5.tar.gz
cpython-8f080b09953a2d862de5c74edf414a54ea3dbea5.tar.bz2
bpo-26589: Add http status code 451 (GH-15413)
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r--Lib/test/test_httplib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index 656932f..1121224 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -1401,6 +1401,7 @@ class OfflineTest(TestCase):
'PRECONDITION_REQUIRED',
'TOO_MANY_REQUESTS',
'REQUEST_HEADER_FIELDS_TOO_LARGE',
+ 'UNAVAILABLE_FOR_LEGAL_REASONS',
'INTERNAL_SERVER_ERROR',
'NOT_IMPLEMENTED',
'BAD_GATEWAY',