diff --git a/python-black.changes b/python-black.changes index e61ce43..97d427e 100644 --- a/python-black.changes +++ b/python-black.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Wed Jan 12 03:09:25 UTC 2022 - Steve Kowalik +Wed Jan 12 03:39:41 UTC 2022 - Steve Kowalik - Update to 21.12.0b1: * Fix determination of f-string expression spans (#2654) @@ -72,6 +72,7 @@ Wed Jan 12 03:09:25 UTC 2022 - Steve Kowalik * Added --stdin-filename argument to allow stdin to respect --force-exclude rules (#1780) * Lines ending with fmt: skip will now be not formatted (#1800) * PR #2053: Black no longer relies on typed-ast for Python 3.8 and higher +- Skip python 2 tests unconditionally. ------------------------------------------------------------------- Sat Dec 5 23:44:07 UTC 2020 - Benjamin Greiner diff --git a/python-black.spec b/python-black.spec index 3c9c057..60291a7 100644 --- a/python-black.spec +++ b/python-black.spec @@ -93,11 +93,7 @@ cp $(ls %{buildroot}%{_bindir}/black-* | head -1) ~/bin/black export PATH=$PATH:~/bin # test_expression_diff - sometimes fails on async timing in OBS -skiptests="test_expression_diff" -# https://github.com/psf/black/issues/1109 -if [ $(python3 -c 'import sys; print(sys.byteorder)') == 'big' ]; then -skiptests+=" or test_python2" -fi +skiptests="test_expression_diff or py2" %pytest -k "not ($skiptests)" %post