C:\Python27\python.exe D:/git/Python/FullStack/PyUnit/xUnit/mockHelp.py
查看modk库常用的方法: ['ANY', 'CallableMixin', 'DEFAULT', 'FILTER_DIR', 'MagicMock', 'Mock', 'NonCallableMagicMock', 'NonCallableMock', 'PropertyMock', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '__version__', '_mock', 'absolute_import', 'call', 'create_autospec', 'mock', 'mock_open', 'patch', 'sentinel', 'version_info']
查看mock库详细的帮助信息:Help on package mock:
NAME
mock
FILE
c:\python27\lib\site-packages\mock\__init__.py
PACKAGE CONTENTS
mock
tests (package)
SUBMODULES
_mock
CLASSES
mock.mock.Base(__builtin__.object)
mock.mock.CallableMixin
mock.mock.Mock(mock.mock.CallableMixin, mock.mock.NonCallableMock)
mock.mock.MagicMock(mock.mock.MagicMixin, mock.mock.Mock)
mock.mock.PropertyMock
mock.mock.NonCallableMock
mock.mock.NonCallableMagicMock(mock.mock.MagicMixin, mock.mock.NonCallableMock)
mock.mock.MagicMixin(__builtin__.object)
mock.mock.MagicMock(mock.mock.MagicMixin, mock.mock.Mock)
mock.mock.NonCallableMagicMock(mock.mock.MagicMixin, mock.mock.NonCallableMock)classCallableMixin(Base)|Method resolution order:|CallableMixin|Base| __builtin__.object|
|Methods defined here:|
| __call__(_mock_self, *args, **kwargs)|
| __init__(self, spec=None, side_effect=None, return_value=sentinel.DEFAULT, wraps=None, name=None, spec_set=None, parent=None, _spec_state=None, _new_name='', _new_parent=None, **kwargs)|
| ----------------------------------------------------------------------
| Data descriptors inherited fromBase:|
| __dict__
| dictionary for instance variables (ifdefined)|
| __weakref__
| list of weak references to the object (ifdefined)classMagicMock(MagicMixin, Mock)| MagicMock isa subclass of Mock with default implementations|of most of the magic methods. You can use MagicMock without having to|configure the magic methods yourself.|
| If you use the `spec` or `spec_set` arguments then *only*magic| methods that exist inthe spec will be created.|
| Attributes and the returnvalue of a `MagicMock` will also be `MagicMocks`.|
|Method resolution order:|MagicMock|MagicMixin|Mock|CallableMixin|NonCallableMock|Base| __builtin__.object|
|Methods defined here:|
| mock_add_spec(self, spec, spec_set=False)| Add a spec to a mock. `spec` can either be an object ora|list of strings. Only attributes on the `spec` can be fetched as| attributes fromthe mock.|
| If `spec_set` isTrue then only attributes on the spec can be set.|
| ----------------------------------------------------------------------
| Methods inherited fromMagicMixin:|
| __init__(self, *args, **kw)|
| ----------------------------------------------------------------------
| Data descriptors inherited fromMagicMixin:|
| __dict__
| dictionary for instance variables (ifdefined)|
| __weakref__
| list of weak references to the object (ifdefined)|
| ----------------------------------------------------------------------
| Methods inherited fromCallableMixin:|
| __call__(_mock_self, *args, **kwargs)|
| ----------------------------------------------------------------------
| Methods inherited fromNonCallableMock:|
| __delattr__(self, name)|
| __dir__(self)|Filter the output of `dir(mock)` to only useful members.|
| __getattr__(self, name)|
| __repr__(self)|
| __setattr__(self, name, value)|
| assert_any_call(self, *args, **kwargs)| assertthe mock has been called with the specified arguments.|
| The assert passes if the mock has *ever*been called, unlike| `assert_called_with` and `assert_called_once_with` that only pass if
| the call isthe most recent one.|
|assert_called(_mock_self)| assertthat the mock was called at least once|
|assert_called_once(_mock_self)| assertthat the mock was called only once.|
| assert_called_once_with(_mock_self, *args, **kwargs)| assert that the mock was called exactly once andwith the specified|arguments.|
| assert_called_with(_mock_self, *args, **kwargs)| assertthat the mock was called with the specified arguments.|
| Raises an AssertionError if the args and keyword args passed inare|different to the last call to the mock.|
| assert_has_calls(self, calls, any_order=False)| assertthe mock has been called with the specified calls.| The `mock_calls` list is checked forthe calls.|
| If `any_order` isFalse (the default) then the calls must be| sequential. There can be extra calls before orafter the|specified calls.|
| If `any_order` is True then the calls can be inany order, but| they must all appear in`mock_calls`.|
|assert_not_called(_mock_self)| assertthat the mock was never called.|
|attach_mock(self, mock, attribute)| Attach a mock as an attribute of this one, replacing its name and
| parent. Calls to the attached mock will be recorded inthe| `method_calls` and`mock_calls` attributes of this one.|
| configure_mock(self, **kwargs)|Set attributes on the mock through keyword arguments.|
| Attributes plus return values andside effects can be set on child| mocks using standard dot notation and unpacking a dictionary inthe|method call:|
| >>> attrs = {'method.return_value': 3, 'other.side_effect': KeyError}| >>> mock.configure_mock(**attrs)|
| reset_mock(self, visited=None)|Restore the mock object to its initial state.|
| ----------------------------------------------------------------------
| Static methods inherited fromNonCallableMock:|
| __new__(cls, *args, **kw)|
| ----------------------------------------------------------------------
| Data descriptors inherited fromNonCallableMock:|
| __class__
|
|call_args|
|call_args_list|
|call_count|
|called|
|mock_calls|
|return_value|
|side_effectclassMock(CallableMixin, NonCallableMock)|Create a new `Mock` object. `Mock` takes several optional arguments|that specify the behaviour of the Mock object:|
| * `spec`: This can be either a list of strings oran existing object (a| class or instance) that acts as the specification forthe mock object. If| you pass in an object then a list of strings isformed by calling dir on| the object (excluding unsupported magic attributes andmethods). Accessing| any attribute not in this list will raisean `AttributeError`.|
| If `spec` isan object (rather than a list of strings) then| `mock.__class__` returns the classof the spec object. This allows mocks| to pass`isinstance` tests.|
| * `spec_set`: A stricter variant of `spec`. If used, attempting to *set*
| or get an attribute on the mock that isn't on the object passed as
| `spec_set` will raisean `AttributeError`.|
| * `side_effect`: A function to be called whenever the Mock iscalled. See| the `side_effect` attribute. Useful for raising exceptions or
| dynamically changing return values. The function iscalled with the same| arguments as the mock, and unless it returns `DEFAULT`, the return
| value of this function is used as the returnvalue.|
| Alternatively `side_effect` can be an exception class orinstance. In| this case the exception will be raised when the mock iscalled.|
| If `side_effect` is an iterable then each call to the mock will return
| the next value fromthe iterable. If any of the members of the iterable|are exceptions they will be raised instead of returned.|
| * `return_value`: The value returned when the mock iscalled. By default| this isa new Mock (created on first access). See the|`return_value` attribute.|
| * `wraps`: Item for the mock object to wrap. If `wraps` is notNone then| calling the Mock will passthe call through to the wrapped object| (returning the real result). Attribute access on the mock will returna|Mock object that wraps the corresponding attribute of the wrapped object| (so attempting to access an attribute that doesn't exist will raise an
|`AttributeError`).|
| If the mock has an explicit `return_value` set then calls are notpassed| to the wrapped object and the `return_value` isreturned instead.|
| * `name`: If the mock has a name then it will be used inthe repr of the| mock. This can be useful for debugging. The name ispropagated to child|mocks.|
|Mocks can also be called with arbitrary keyword arguments. These will be| used to set attributes on the mock after it iscreated.|
|Method resolution order:|Mock|CallableMixin|NonCallableMock|Base| __builtin__.object|
| Methods inherited fromCallableMixin:|
| __call__(_mock_self, *args, **kwargs)|
| __init__(self, spec=None, side_effect=None, return_value=sentinel.DEFAULT, wraps=None, name=None, spec_set=None, parent=None, _spec_state=None, _new_name='', _new_parent=None, **kwargs)|
| ----------------------------------------------------------------------
| Methods inherited fromNonCallableMock:|
| __delattr__(self, name)|
| __dir__(self)|Filter the output of `dir(mock)` to only useful members.|
| __getattr__(self, name)|
| __repr__(self)|
| __setattr__(self, name, value)|
| assert_any_call(self, *args, **kwargs)| assertthe mock has been called with the specified arguments.|
| The assert passes if the mock has *ever*been called, unlike| `assert_called_with` and `assert_called_once_with` that only pass if
| the call isthe most recent one.|
|assert_called(_mock_self)| assertthat the mock was called at least once|
|assert_called_once(_mock_self)| assertthat the mock was called only once.|
| assert_called_once_with(_mock_self, *args, **kwargs)| assert that the mock was called exactly once andwith the specified|arguments.|
| assert_called_with(_mock_self, *args, **kwargs)| assertthat the mock was called with the specified arguments.|
| Raises an AssertionError if the args and keyword args passed inare|different to the last call to the mock.|
| assert_has_calls(self, calls, any_order=False)| assertthe mock has been called with the specified calls.| The `mock_calls` list is checked forthe calls.|
| If `any_order` isFalse (the default) then the calls must be| sequential. There can be extra calls before orafter the|specified calls.|
| If `any_order` is True then the calls can be inany order, but| they must all appear in`mock_calls`.|
|assert_not_called(_mock_self)| assertthat the mock was never called.|
|attach_mock(self, mock, attribute)| Attach a mock as an attribute of this one, replacing its name and
| parent. Calls to the attached mock will be recorded inthe| `method_calls` and`mock_calls` attributes of this one.|
| configure_mock(self, **kwargs)|Set attributes on the mock through keyword arguments.|
| Attributes plus return values andside effects can be set on child| mocks using standard dot notation and unpacking a dictionary inthe|method call:|
| >>> attrs = {'method.return_value': 3, 'other.side_effect': KeyError}| >>> mock.configure_mock(**attrs)|
| mock_add_spec(self, spec, spec_set=False)| Add a spec to a mock. `spec` can either be an object ora|list of strings. Only attributes on the `spec` can be fetched as| attributes fromthe mock.|
| If `spec_set` isTrue then only attributes on the spec can be set.|
| reset_mock(self, visited=None)|Restore the mock object to its initial state.|
| ----------------------------------------------------------------------
| Static methods inherited fromNonCallableMock:|
| __new__(cls, *args, **kw)|
| ----------------------------------------------------------------------
| Data descriptors inherited fromNonCallableMock:|
| __class__
|
|call_args|
|call_args_list|
|call_count|
|called|
|mock_calls|
|return_value|
|side_effect|
| ----------------------------------------------------------------------
| Data descriptors inherited fromBase:|
| __dict__
| dictionary for instance variables (ifdefined)|
| __weakref__
| list of weak references to the object (ifdefined)classNonCallableMagicMock(MagicMixin, NonCallableMock)| A version of `MagicMock` that isn't callable.
|
|Method resolution order:|NonCallableMagicMock|MagicMixin|NonCallableMock|Base| __builtin__.object|
|Methods defined here:|
| mock_add_spec(self, spec, spec_set=False)| Add a spec to a mock. `spec` can either be an object ora|list of strings. Only attributes on the `spec` can be fetched as| attributes fromthe mock.|
| If `spec_set` isTrue then only attributes on the spec can be set.|
| ----------------------------------------------------------------------
| Methods inherited fromMagicMixin:|
| __init__(self, *args, **kw)|
| ----------------------------------------------------------------------
| Data descriptors inherited fromMagicMixin:|
| __dict__
| dictionary for instance variables (ifdefined)|
| __weakref__
| list of weak references to the object (ifdefined)|
| ----------------------------------------------------------------------
| Methods inherited fromNonCallableMock:|
| __delattr__(self, name)|
| __dir__(self)|Filter the output of `dir(mock)` to only useful members.|
| __getattr__(self, name)|
| __repr__(self)|
| __setattr__(self, name, value)|
| assert_any_call(self, *args, **kwargs)| assertthe mock has been called with the specified arguments.|
| The assert passes if the mock has *ever*been called, unlike| `assert_called_with` and `assert_called_once_with` that only pass if
| the call isthe most recent one.|
|assert_called(_mock_self)| assertthat the mock was called at least once|
|assert_called_once(_mock_self)| assertthat the mock was called only once.|
| assert_called_once_with(_mock_self, *args, **kwargs)| assert that the mock was called exactly once andwith the specified|arguments.|
| assert_called_with(_mock_self, *args, **kwargs)| assertthat the mock was called with the specified arguments.|
| Raises an AssertionError if the args and keyword args passed inare|different to the last call to the mock.|
| assert_has_calls(self, calls, any_order=False)| assertthe mock has been called with the specified calls.| The `mock_calls` list is checked forthe calls.|
| If `any_order` isFalse (the default) then the calls must be| sequential. There can be extra calls before orafter the|specified calls.|
| If `any_order` is True then the calls can be inany order, but| they must all appear in`mock_calls`.|
|assert_not_called(_mock_self)| assertthat the mock was never called.|
|attach_mock(self, mock, attribute)| Attach a mock as an attribute of this one, replacing its name and
| parent. Calls to the attached mock will be recorded inthe| `method_calls` and`mock_calls` attributes of this one.|
| configure_mock(self, **kwargs)|Set attributes on the mock through keyword arguments.|
| Attributes plus return values andside effects can be set on child| mocks using standard dot notation and unpacking a dictionary inthe|method call:|
| >>> attrs = {'method.return_value': 3, 'other.side_effect': KeyError}| >>> mock.configure_mock(**attrs)|
| reset_mock(self, visited=None)|Restore the mock object to its initial state.|
| ----------------------------------------------------------------------
| Static methods inherited fromNonCallableMock:|
| __new__(cls, *args, **kw)|
| ----------------------------------------------------------------------
| Data descriptors inherited fromNonCallableMock:|
| __class__
|
|call_args|
|call_args_list|
|call_count|
|called|
|mock_calls|
|return_value|
|side_effectclassNonCallableMock(Base)| A non-callable version of `Mock`|
|Method resolution order:|NonCallableMock|Base| __builtin__.object|
|Methods defined here:|
| __delattr__(self, name)|
| __dir__(self)|Filter the output of `dir(mock)` to only useful members.|
| __getattr__(self, name)|
| __init__(self, spec=None, wraps=None, name=None, spec_set=None, parent=None, _spec_state=None, _new_name='', _new_parent=None, _spec_as_instance=False, _eat_self=None, unsafe=False, **kwargs)|
| __repr__(self)|
| __setattr__(self, name, value)|
| assert_any_call(self, *args, **kwargs)| assertthe mock has been called with the specified arguments.|
| The assert passes if the mock has *ever*been called, unlike| `assert_called_with` and `assert_called_once_with` that only pass if
| the call isthe most recent one.|
|assert_called(_mock_self)| assertthat the mock was called at least once|
|assert_called_once(_mock_self)| assertthat the mock was called only once.|
| assert_called_once_with(_mock_self, *args, **kwargs)| assert that the mock was called exactly once andwith the specified|arguments.|
| assert_called_with(_mock_self, *args, **kwargs)| assertthat the mock was called with the specified arguments.|
| Raises an AssertionError if the args and keyword args passed inare|different to the last call to the mock.|
| assert_has_calls(self, calls, any_order=False)| assertthe mock has been called with the specified calls.| The `mock_calls` list is checked forthe calls.|
| If `any_order` isFalse (the default) then the calls must be| sequential. There can be extra calls before orafter the|specified calls.|
| If `any_order` is True then the calls can be inany order, but| they must all appear in`mock_calls`.|
|assert_not_called(_mock_self)| assertthat the mock was never called.|
|attach_mock(self, mock, attribute)| Attach a mock as an attribute of this one, replacing its name and
| parent. Calls to the attached mock will be recorded inthe| `method_calls` and`mock_calls` attributes of this one.|
| configure_mock(self, **kwargs)|Set attributes on the mock through keyword arguments.|
| Attributes plus return values andside effects can be set on child| mocks using standard dot notation and unpacking a dictionary inthe|method call:|
| >>> attrs = {'method.return_value': 3, 'other.side_effect': KeyError}| >>> mock.configure_mock(**attrs)|
| mock_add_spec(self, spec, spec_set=False)| Add a spec to a mock. `spec` can either be an object ora|list of strings. Only attributes on the `spec` can be fetched as| attributes fromthe mock.|
| If `spec_set` isTrue then only attributes on the spec can be set.|
| reset_mock(self, visited=None)|Restore the mock object to its initial state.|
| ----------------------------------------------------------------------
|Static methods defined here:|
| __new__(cls, *args, **kw)|
| ----------------------------------------------------------------------
|Data descriptors defined here:|
| __class__
|
|call_args|
|call_args_list|
|call_count|
|called|
|mock_calls|
|return_value|
|side_effect|
| ----------------------------------------------------------------------
| Data descriptors inherited fromBase:|
| __dict__
| dictionary for instance variables (ifdefined)|
| __weakref__
| list of weak references to the object (ifdefined)classPropertyMock(Mock)| A mock intended to be used as a property, or other descriptor, on a class.| `PropertyMock` provides `__get__` and `__set__` methods so you can specify| a return value when it isfetched.|
| Fetching a `PropertyMock` instance froman object calls the mock, with|no args. Setting it calls the mock with the value being set.|
|Method resolution order:|PropertyMock|Mock|CallableMixin|NonCallableMock|Base| __builtin__.object|
|Methods defined here:|
| __get__(self, obj, obj_type)|
| __set__(self, obj, val)|
| ----------------------------------------------------------------------
| Methods inherited fromCallableMixin:|
| __call__(_mock_self, *args, **kwargs)|
| __init__(self, spec=None, side_effect=None, return_value=sentinel.DEFAULT, wraps=None, name=None, spec_set=None, parent=None, _spec_state=None, _new_name='', _new_parent=None, **kwargs)|
| ----------------------------------------------------------------------
| Methods inherited fromNonCallableMock:|
| __delattr__(self, name)|
| __dir__(self)|Filter the output of `dir(mock)` to only useful members.|
| __getattr__(self, name)|
| __repr__(self)|
| __setattr__(self, name, value)|
| assert_any_call(self, *args, **kwargs)| assertthe mock has been called with the specified arguments.|
| The assert passes if the mock has *ever*been called, unlike| `assert_called_with` and `assert_called_once_with` that only pass if
| the call isthe most recent one.|
|assert_called(_mock_self)| assertthat the mock was called at least once|
|assert_called_once(_mock_self)| assertthat the mock was called only once.|
| assert_called_once_with(_mock_self, *args, **kwargs)| assert that the mock was called exactly once andwith the specified|arguments.|
| assert_called_with(_mock_self, *args, **kwargs)| assertthat the mock was called with the specified arguments.|
| Raises an AssertionError if the args and keyword args passed inare|different to the last call to the mock.|
| assert_has_calls(self, calls, any_order=False)| assertthe mock has been called with the specified calls.| The `mock_calls` list is checked forthe calls.|
| If `any_order` isFalse (the default) then the calls must be| sequential. There can be extra calls before orafter the|specified calls.|
| If `any_order` is True then the calls can be inany order, but| they must all appear in`mock_calls`.|
|assert_not_called(_mock_self)| assertthat the mock was never called.|
|attach_mock(self, mock, attribute)| Attach a mock as an attribute of this one, replacing its name and
| parent. Calls to the attached mock will be recorded inthe| `method_calls` and`mock_calls` attributes of this one.|
| configure_mock(self, **kwargs)|Set attributes on the mock through keyword arguments.|
| Attributes plus return values andside effects can be set on child| mocks using standard dot notation and unpacking a dictionary inthe|method call:|
| >>> attrs = {'method.return_value': 3, 'other.side_effect': KeyError}| >>> mock.configure_mock(**attrs)|
| mock_add_spec(self, spec, spec_set=False)| Add a spec to a mock. `spec` can either be an object ora|list of strings. Only attributes on the `spec` can be fetched as| attributes fromthe mock.|
| If `spec_set` isTrue then only attributes on the spec can be set.|
| reset_mock(self, visited=None)|Restore the mock object to its initial state.|
| ----------------------------------------------------------------------
| Static methods inherited fromNonCallableMock:|
| __new__(cls, *args, **kw)|
| ----------------------------------------------------------------------
| Data descriptors inherited fromNonCallableMock:|
| __class__
|
|call_args|
|call_args_list|
|call_count|
|called|
|mock_calls|
|return_value|
|side_effect|
| ----------------------------------------------------------------------
| Data descriptors inherited fromBase:|
| __dict__
| dictionary for instance variables (ifdefined)|
| __weakref__
| list of weak references to the object (ifdefined)
FUNCTIONS
create_autospec(spec, spec_set=False, instance=False, _parent=None, _name=None, **kwargs)
Create a mock object using another object as a spec. Attributes on the
mock will use the corresponding attribute on the `spec` object as their
spec.
Functionsormethods being mocked will have their arguments checked
to check that they are called with the correct signature.
If `spec_set`is True then attempting to set attributes that don't exist
on the spec object will raisean `AttributeError`.
If aclass is used as a spec then the returnvalue of the mock (the
instance of theclass) will have the same spec. You can use a classas the
specfor an instance object by passing `instance=True`. The returned mock
will only be callableifinstances of the mock are callable.
`create_autospec` also takes arbitrary keyword arguments that are passed to
the constructor of the created mock.
mock_open(mock=None, read_data='')
A helper function to create a mock to replace the use of `open`. It worksfor `open` called directly orused as a context manager.
The `mock` argumentisthe mock object to configure. If `None` (the
default) then a `MagicMock` will be createdforyou, with the API limited
to methodsorattributes available on standard file handles.
`read_data`is a string for the `read` methoddline`, and`readlines` of the
file handle toreturn. This isan empty string by default.
patch(target, new=sentinel.DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs)
`patch` acts as a function decorator,class decorator ora context
manager. Inside the body of the functionorwith statement, the `target`is patched with a `new` object. When the function/with statement exits
the patchisundone.
If `new`is omitted, then the target isreplaced with a
`MagicMock`. If `patch`is used as a decorator and `new` isomitted, the created mockis passed inas an extra argument to the
decorated function. If `patch`isused as a context manager the created
mockisreturned by the context manager.
`target` should be a stringin the form `'package.module.ClassName'`. The
`target`is imported andthe specified object replaced with the `new`
object, so the `target` must be importablefromthe environment you are
calling `patch`from. The target isimported when the decorated functionis executed, notat decoration time.
The `spec`and`spec_set` keyword arguments are passed to the `MagicMock`if patch is creating one foryou.
In addition you canpass `spec=True` or `spec_set=True`, which causes
patch topass in the object being mocked as the spec/spec_set object.
`new_callable` allows you to specify a differentclass, orcallable object,
that will be called to create the `new` object. By default `MagicMock`isused.
A more powerful form of `spec`is `autospec`. If you set `autospec=True`
then the mock will be created with a specfromthe object being replaced.
All attributes of the mock will also have the spec of the corresponding
attribute of the object being replaced. Methodsandfunctions being
mocked will have their arguments checkedand will raise a `TypeError` ifthey are called with the wrong signature. For mocks replacing aclass,
theirreturn value (the 'instance') will have the same spec as the class.
Instead of `autospec=True` you can pass `autospec=some_object` to use an
arbitrary object as the spec instead of the one being replaced.
By default `patch` will fail to replace attributes that don't exist. If
you pass in `create=True`, and the attribute doesn't exist, patch will
create the attribute for you when the patched function is called, anddelete it again afterwards. Thisis useful forwriting tests against
attributes that your production code creates at runtime. Itisoff by
default because it can be dangerous. With it switched on you can write
passing tests against APIs that don't actually exist!
Patch can be used as a `TestCase`classdecorator. It works by
decorating each test methodin the class. This reduces the boilerplate
code when your test methods share a common patchings set. `patch` finds
tests by lookingformethod names that start with `patch.TEST_PREFIX`.
By default thisis`test`, which matches the way `unittest` finds tests.
You can specify an alternative prefix by setting `patch.TEST_PREFIX`.
Patch can be used as a context manager, with the with statement. Here the
patching applies to the indented block after the with statement. If you
use"as"then the patched object will be bound to the name after the"as"; very useful if `patch` is creating a mock object foryou.
`patch` takes arbitrary keyword arguments. These will be passed to
the `Mock` (or`new_callable`) on construction.
`patch.dict(...)`, `patch.multiple(...)`and`patch.object(...)` are
availablefor alternate use-cases.
DATA
ANY= DEFAULT=sentinel.DEFAULT
FILTER_DIR=True__all__ = ('__version__', 'version_info', 'Mock', 'MagicMock', 'patch'...__version__ = '2.0.0'call=call
sentinel= version_info= (2, 0, 0, 'final', 0)
VERSION2.0.0Process finished with exit code 0