#! /bin/sh

set -e

PYS=$(py3versions -s)

cp -a bytecode/tests "$AUTOPKGTEST_TMP"
for py in $PYS; do
    cd "$AUTOPKGTEST_TMP"
    echo "Testing with $py:"
    $py -m pytest -k "not test_version" tests
done
