MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / check_errors

Function check_errors

tools/python-3.11.9-amd64/Lib/wsgiref/validate.py:369–373  ·  view source on GitHub ↗
(wsgi_errors)

Source from the content-addressed store, hash-verified

367 % (wsgi_input, attr))
368
369def check_errors(wsgi_errors):
370 for attr in ['flush', 'write', 'writelines']:
371 assert_(hasattr(wsgi_errors, attr),
372 "wsgi.errors (%r) doesn't have the attribute %s"
373 % (wsgi_errors, attr))
374
375def check_status(status):
376 status = check_string_type(status, "Status")

Callers 1

check_environFunction · 0.85

Calls 1

assert_Function · 0.85

Tested by

no test coverage detected