diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c942a46..caa26d8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,4 +19,3 @@ repos: files: ^(CHANGELOG.rst|README.rst|HOWTORELEASE.rst|changelog/.*)$ language: python additional_dependencies: [pygments, restructuredtext_lint] - python_version: python3.6 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 297a275..c61172d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,12 @@ +1.12.0 (2019-11-19) +------------------- + +* Now all patch functions also raise a ``ValueError`` when used + as a context-manager. Thanks `@AlexGascon`_ for the PR (`#168`_). + +.. _@AlexGascon: https://github.com/AlexGascon +.. _#168: https://github.com/pytest-dev/pytest-mock/pull/168 + 1.11.2 (2019-10-19) -------------------