def test_wsgi_response_start_response_exc_status(self):
    srv = self._make_srv()
    resp = srv.create_wsgi_response(self.message)
    resp.start_response('200 OK', [('CONTENT-TYPE', 'text/plain')])
    self.assertRaises(ValueError, resp.start_response, '500 Err', [('CONTENT-TYPE', 'text/plain')], ['', ValueError()])
def test_wsgi_response_start_response_exc_status(self):
    srv = self._make_srv()
    resp = srv.create_wsgi_response(self.message)
    resp.start_response('200 OK', [('CONTENT-TYPE', 'text/plain')])
    self.assertRaises(ValueError, resp.start_response, '500 Err', [('CONTENT-TYPE', 'text/plain')], [, ValueError()])