summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests/test_basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rest/tests/test_basic.py')
-rw-r--r--src/mailman/rest/tests/test_basic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/tests/test_basic.py b/src/mailman/rest/tests/test_basic.py
index fade3ed40..23db57f8e 100644
--- a/src/mailman/rest/tests/test_basic.py
+++ b/src/mailman/rest/tests/test_basic.py
@@ -48,8 +48,8 @@ class TestBasicREST(unittest.TestCase):
'A description with , to check stuff')
def test_send_error(self):
- # Test `AdminWebServiceWSGIRequestHandler` `send_error`.
- # Return 400 for invalid url.
+ # GL#288 working around Python bug #28548. The improperly encoded
+ # space in the URL breaks error reporting due to default HTTP/0.9.
with self.assertRaises(HTTPError) as cm:
call_api('http://localhost:9001/3.0/lists/test @example.com')
self.assertEqual(cm.exception.code, 400)