#!/bin/sh

set -e

cd $AUTOPKGTEST_TMP

cat <<EOF >test_import.py
from PyQt6.QtCharts import QChart
EOF

for py in $(py3versions -s); do
  echo "testing $py"
  $py test_import.py
  echo "testing $py-dbg"
  $py-dbg test_import.py 2>&1
done
