File: python3-debian

package info (click to toggle)
python-debian 0.1.35
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,580 kB
  • sloc: python: 6,528; makefile: 230; sh: 14
file content (10 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e -u -x
cp -r lib/debian/tests/ "$ADTTMP"
cd "$ADTTMP/tests/"
export PYTHONWARNINGS=d
for py in $(py3versions -i); do
  # text mode file opening is locale dependent so try both ASCII and UTF-8
  LC_ALL=C $py -m unittest discover --verbose
  LC_ALL=C.UTF-8 $py -m unittest discover --verbose
done