Skip to content

Commit

Permalink
Merge #44
Browse files Browse the repository at this point in the history
44: Update mock to 4.0.3 r=aragilar a=pyup-bot


This PR updates [mock](https://pypi.org/project/mock) from **4.0.2** to **4.0.3**.



<details>
  <summary>Changelog</summary>
  
  
   ### 4.0.3
   ```
   -----

- Issue 42532: Remove unexpected call of ``__bool__`` when passing a
  ``spec_arg`` argument to a Mock.

- Issue 39966: Revert bpo-25597. :class:`unittest.mock.MagicMock` with
  wraps&#39; set uses default return values for magic methods.

- Issue 41877: Mock objects which are not unsafe will now raise an
  AttributeError if an attribute with the prefix asert, aseert, or assrt is
  accessed, in addition to this already happening for the prefixes assert or
  assret.

- Issue 40126: Fixed reverting multiple patches in unittest.mock. Patcher&#39;s
  ``__exit__()`` is now never called if its ``__enter__()`` is failed.
  Returning true from ``__exit__()`` silences now the exception.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/mock
  - Changelog: https://pyup.io/changelogs/mock/
  - Docs: http://mock.readthedocs.org/en/latest/
</details>



Co-authored-by: pyup-bot <github-bot@pyup.io>
  • Loading branch information
bors[bot] and pyup-bot committed Dec 31, 2020
2 parents 98c7a1f + f4857b2 commit 7c25cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx>=1.3
sphinxcontrib-napoleon>=0.4.3
mock==4.0.2
mock==4.0.3
sphinx_rtd_theme==0.5.0

0 comments on commit 7c25cf2

Please sign in to comment.