File: pytest

package info (click to toggle)
joblib 1.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,360 kB
  • sloc: python: 14,772; sh: 138; makefile: 42
file content (23 lines) | stat: -rw-r--r-- 786 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -ex

cp debian/conftest.py "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"

TEST_KEYWORDS="not test_child_raises_parent_exits_cleanly and \
not test_error_capture and \
not test_multithreaded_parallel_termination_resource_tracker_silent and \
not test_nested_exception_dispatch and \
not test_nested_loop_error_in_grandchild_resource_tracker_silent and \
not test_parallel_with_interactively_defined_functions_default_backend and \
not test_permission_error_windows_memmap_sent_to_parent and \
not test_resource_tracker_silent_when_reference_cycles and \
not test_joblib_pickle_across_python_versions and \
not test_threadpool_limitation_in_child_override"

for py in $(py3versions -s); do
	echo "Testing with $py:"
	$py -m pytest -v -k "${TEST_KEYWORDS}" --pyargs joblib
done