- Stop skipping tests under Python 3.6.

- Drop -x argument to pytest.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mypy?expand=0&rev=14
This commit is contained in:
2024-04-04 08:33:29 +00:00
committed by Git OBS Bridge
parent fd23ee145b
commit dbbbb63c88
2 changed files with 6 additions and 3 deletions

View File

@@ -1,9 +1,10 @@
-------------------------------------------------------------------
Thu Apr 4 04:58:56 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
Thu Apr 4 08:32:32 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch workaround-parenthesized-context-managers.patch:
* Work around parenthesized context managers issue.
- Stop skipping tests that are now fixed.
- Stop skipping tests under Python 3.6.
- Drop -x argument to pytest.
-------------------------------------------------------------------
Wed Mar 27 15:59:56 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -144,9 +144,11 @@ fi
# the fake test_module is not in the modulepath without pytest-xdist
# or with pytest-xdist >= 2.3 -- https://github.com/python/mypy/issues/11019
donttest+=" or teststubtest"
# gh#python/mypy#15221
donttest+=" or testMathOps or testFloatOps"
# fails on Python 3.11.4, see gh#python/mypy#15446. Patch db5b5af1201fff03465b0684d16b6489a62a3d78 does not apply clean, better wait for a new upstream version
donttest+=" or PEP561Suite"
%pytest -n auto -k "not (testallexcept ${donttest})" -x
%pytest -n auto -k "not (testallexcept ${donttest})"
%endif
%post