[packages/python3-pytest] - disable more tests requiring ptys

qboosh qboosh at pld-linux.org
Tue Feb 16 21:13:31 CET 2021


commit 3de7690af59f75a21dade3ca49b968973fa63123
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Feb 16 21:14:02 2021 +0100

    - disable more tests requiring ptys

 python3-pytest.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python3-pytest.spec b/python3-pytest.spec
index 6264f82..53a5ccd 100644
--- a/python3-pytest.spec
+++ b/python3-pytest.spec
@@ -95,8 +95,10 @@ export PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
 %if %{with tests}
 # test_pdb_custom_cls_with_settrace fails without preinstalled pytest
 # test_pdb_* which spawn pdb hang under some unclear conditions
+# ...and most test_debugging tests require ptys
+# test_spawn_uses_tmphome and some terminal tests require ptys
 PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest -k 'not test_pdb' testing
+%{__python3} -m pytest -k 'not (test_debugging or test_spawn_uses_tmphome or test_runtest_location_shown_before_test_starts or test_report_collect_after_half_a_second or test_trial_pdb)' testing
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest.git/commitdiff/3de7690af59f75a21dade3ca49b968973fa63123



More information about the pld-cvs-commit mailing list