Debian Codegraph @

debian/tests/python3-unittest

raw
1 #!/bin/sh
2 set -e -u -x
3 cp -r tests/ "$AUTOPKGTEST_TMP"
4 cd "$AUTOPKGTEST_TMP/tests/"
5 export PYTHONWARNINGS=d
6 for py in $(py3versions -s); do
7 echo "----------------------------------------------"
8 echo "Testing with $py"
9 echo "----------------------------------------------"
10 # text mode file opening is locale dependent so try both ASCII and UTF-8
11 LC_ALL=C $py -m pytest
12 LC_ALL=C.UTF-8 $py -m pytest
13 done