diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 241961519..83a50be93 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: black args: [--safe, --quiet] - repo: https://github.com/asottile/blacken-docs - rev: v1.9.2 + rev: v1.10.0 hooks: - id: blacken-docs additional_dependencies: [black==20.8b1] diff --git a/testing/test_doctest.py b/testing/test_doctest.py index b63665349..1d33e7378 100644 --- a/testing/test_doctest.py +++ b/testing/test_doctest.py @@ -730,12 +730,11 @@ class TestDoctests: test_unicode_doctest=""" .. doctest:: - >>> print( - ... "Hi\\n\\nByé") + >>> print("Hi\\n\\nByé") Hi ... Byé - >>> 1/0 # Byé + >>> 1 / 0 # Byé 1 """ )