#!/bin/sh

set -e -u

# Skip test in py3.12 until the compatible numba version for py3.12

cp -va test_disptrans.py "$AUTOPKGTEST_TMP"/
cd "$AUTOPKGTEST_TMP"

for py in $(py3versions --supported); do
    if [ "$py" != "python3.12" ]; then
        $py -m pytest -v test_disptrans.py
    else
        echo "Tests disabled for Python 3.12"
    fi
done
