PyDocs

Nav

Development Tools

requires

test.support

function
  • requires(resource, msg=None)
Raise ResourceDenied if resource is not available. msg is the argument to ResourceDenied if it is raised. Always returns True if called by a function whose __name__ is '__main__'. Used when tests are executed by test.regrtest.
0 Examples
No examples for test.support/requires.
See Also
No see-alsos for test.support/requires
0 Notes
No notes for requires