Merge pull request #8416 from pytest-dev/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
Ran Benita 2021-03-11 09:17:40 +02:00 committed by GitHub
commit c9867bcc9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@ repos:
- id: black - id: black
args: [--safe, --quiet] args: [--safe, --quiet]
- repo: https://github.com/asottile/blacken-docs - repo: https://github.com/asottile/blacken-docs
rev: v1.9.2 rev: v1.10.0
hooks: hooks:
- id: blacken-docs - id: blacken-docs
additional_dependencies: [black==20.8b1] additional_dependencies: [black==20.8b1]

View File

@ -730,12 +730,11 @@ class TestDoctests:
test_unicode_doctest=""" test_unicode_doctest="""
.. doctest:: .. doctest::
>>> print( >>> print("Hi\\n\\nByé")
... "Hi\\n\\nByé")
Hi Hi
... ...
Byé Byé
>>> 1/0 # Byé >>> 1 / 0 # Byé
1 1
""" """
) )