Skip to content

Commit

Permalink
Don't run black test on Python 3.7
Browse files Browse the repository at this point in the history
It breaks on that version - see psf/black#425

But that's OK, we only need it to run onder one version anyway.
  • Loading branch information
Simon Willison committed Jul 28, 2018
1 parent 501618d commit 56e2915
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_black.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import black
from click.testing import CliRunner
from pathlib import Path
import pytest
import sys

code_root = Path(__file__).parent.parent


@pytest.mark.skipif(
sys.version_info[:2] > (3, 6),
reason="Breaks on 3.7 at the moment, but it only needs to run under one Python version",
)
def test_black():
runner = CliRunner()
result = runner.invoke(
Expand Down

0 comments on commit 56e2915

Please sign in to comment.