unittest.mock._is_started

Here are the examples of the python api unittest.mock._is_started taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 Source : mock.py
with Apache License 2.0
from liyinchigithub

def _is_started(patching):
    if isinstance(patching, _patch_dict):
        return patching._is_started
    else:
        return unittest.mock._is_started(patching)


class FakeInheritanceMeta(type):