def test_make_error_response(): d = StringIO() s = http2.make_error_response("foo", "bar") language.serve(s, d, default_settings())