File: python3-debian

package info (click to toggle)
python-debian 1.0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,260 kB
  • sloc: python: 12,905; makefile: 239; sh: 25
file content (17 lines) | stat: -rwxr-xr-x 530 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e -u -x
cp -r pyproject.toml conftest.py tests/ "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP/tests/"
export PYTHONWARNINGS=d
export FORBID_MISSING_APT_PKG=1
export FORBID_MISSING_GPGV=1
export FORBID_MISSING_AR=1

for py in $(py3versions -s); do
  echo "----------------------------------------------"
  echo "Testing with $py"
  echo "----------------------------------------------"
  # text mode file opening is locale dependent so try both ASCII and UTF-8
  LC_ALL=C $py -m pytest
  LC_ALL=C.UTF-8 $py -m pytest
done