#!/bin/sh
set -eu

# Run outside the source tree to exercise the installed package.
cp -a tests "$AUTOPKGTEST_TMP/"
cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s); do
    echo "Testing with $py in $(pwd):"
    "$py" -m pytest -v tests
done
