PyDocs

Nav

Development Tools

sentinel

The sentinel object provides a convenient way of providing unique objects for your tests.
Changed in 3.7
  • 3.7: The sentinel attributes now preserve their identity when they are copied or pickled.
0 Examples
No examples for unittest.mock/sentinel.
See Also
No see-alsos for unittest.mock/sentinel
0 Notes
No notes for sentinel