#!/bin/sh
set -efu

pys="$(py3versions -s 2> /dev/null)"


cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"


for py in $pys; do
	echo "=== $py ==="
	$py -m pytest --ignore=tests/test_contrib_starlette.py \
		--ignore=tests/test_client.py \
		--ignore=tests/test_contrib_aiohttp.py 2>&1
done
