labscript_utils.testing_utils.Any

class labscript_utils.testing_utils.Any(types=<class 'object'>)[source]

Bases: object

A class whose instances equal any object of the given type or tuple of types. For use with mock.Mock.assert_called_with when you don’t care what some of the arguments are

__init__(types=<class 'object'>)[source]

Methods

__init__([types])