#!/bin/sh
set -efu

export PYTHONWARNINGS=d

python3_all="$(py3versions -r 2>/dev/null)"

cp -r sphinxcontrib/spelling/tests "$AUTOPKGTEST_TMP/"
cd "$AUTOPKGTEST_TMP"

for py in $python3_all; do
    echo "=== $py ==="
    $py -m nose --verbose 2>&1
done
