Fix typo in comment (#1650)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Tristan Seligmann 2020-08-28 17:37:37 +02:00 committed by GitHub
parent 2b75f8870e
commit 0c6d4ca0c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,8 +42,8 @@ def test_idempotent_any_syntatically_valid_python(
try:
dst_contents = black.format_str(src_contents, mode=mode)
except black.InvalidInput:
# This is a bug - if it's valid Python code, as above, black should be
# able to code with it. See issues #970, #1012, #1358, and #1557.
# This is a bug - if it's valid Python code, as above, Black should be
# able to cope with it. See issues #970, #1012, #1358, and #1557.
# TODO: remove this try-except block when issues are resolved.
return