From 8437fe30912967a0d74c711597e0597314bea11e Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 24 Jan 2019 19:08:52 -0800 Subject: [PATCH] Revert "No need to skip black under Python 3.7 any more" It turns out the black tests still fail in Travis against that version. This reverts commit d18687a30a2bb14370248d8ebd446e9838d7828e. --- tests/test_black.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_black.py b/tests/test_black.py index 161a1b7..e4b1b01 100644 --- a/tests/test_black.py +++ b/tests/test_black.py @@ -7,6 +7,10 @@ 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(