diff --git a/python-trio.spec b/python-trio.spec index 4f13579..41fc8b0 100644 --- a/python-trio.spec +++ b/python-trio.spec @@ -92,10 +92,16 @@ has an obsessive focus on usability and correctness. %if %{with test} # test_static_tool_sees_all_symbols uses jedi/pylint for static analysis, # pointless for us. +donttest="test_static_tool_sees_all_symbols" # test_SSLStream_generic deadlocks in OBS +donttest+=" or test_SSLStream_generic" # test_close_at_bad_time_for_send_all fails on PPC https://github.com/python-trio/trio/issues/1753 +donttest+=" or test_close_at_bad_time_for_send_all" # test_local_address_real fails on qemu_linux_user targets -%pytest -k 'not (test_static_tool_sees_all_symbols or test_SSLStream_generic or test_close_at_bad_time_for_send_all or test_local_address_real)' +donttest+=" or test_local_address_real" +# Don't run lint tests +donttest+=" or run_black or run_ruff or lint_failure or test_process" +%pytest -m 'not redistributors_should_skip' -k "not ($donttest)" --pyargs trio -p trio._tests.pytest_plugin %endif %if %{without test}