Skip to content
Snippets Groups Projects
Commit 06fd0c79 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Pylint tests/test_source.py.

parent 7b7d28f0
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,8 @@ from .utils.tools import skip_unless_tool_is_at_least
def black_version():
try:
out = subprocess.check_output(("black", "--version"))
except subprocess.CalledProcessError as e:
out = e.output
except subprocess.CalledProcessError as exc:
out = exc.output
# black --version format changed starting in 21.11b0. Returning the first
# token starting with a decimal digit, since its ordinal position may vary.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment