File: python3

package info (click to toggle)
python-py 1.4.32-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,004 kB
  • ctags: 2,134
  • sloc: python: 11,498; makefile: 112; sh: 18
file content (11 lines) | stat: -rwxr-xr-x 282 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e
# Enter testing directory so that we don't accidentally find 'py' directory but
# instead use the system py module.
cd testing

PYVERS=$(py3versions -vi)
for py in $PYVERS ; do
  find -name "*.pyc" -delete
  TMPDIR="$ADDTMP" LANG=C.UTF-8 python$py -m pytest .
done