Debian Codegraph @

debian/tests/pytest

raw
1 #!/bin/sh
2
3 set -ex
4
5 cp debian/conftest.py "$AUTOPKGTEST_TMP"
6
7 cd "$AUTOPKGTEST_TMP"
8
9 TEST_KEYWORDS="not test_child_raises_parent_exits_cleanly and \
10 not test_error_capture and \
11 not test_multithreaded_parallel_termination_resource_tracker_silent and \
12 not test_nested_exception_dispatch and \
13 not test_nested_loop_error_in_grandchild_resource_tracker_silent and \
14 not test_parallel_with_interactively_defined_functions_default_backend and \
15 not test_permission_error_windows_memmap_sent_to_parent and \
16 not test_resource_tracker_silent_when_reference_cycles and \
17 not test_joblib_pickle_across_python_versions and \
18 not test_threadpool_limitation_in_child_override"
19
20 for py in $(py3versions -s); do
21 echo "Testing with $py:"
22 $py -m pytest -v -k "${TEST_KEYWORDS}" --pyargs joblib
23 done