- Skip python 2 tests unconditionally.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=26
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 12 03:09:25 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
Wed Jan 12 03:39:41 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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 <steven.kowalik@suse.com>
|
||||
* 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 <code@bnavigator.de>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user