File: upstream-tests

package info (click to toggle)
python-decorator 5.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 232 kB
  • sloc: python: 2,022; sh: 20; makefile: 4
file content (11 lines) | stat: -rwxr-xr-x 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e -u

cp -va src/tests "$AUTOPKGTEST_TMP"/
cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s 2>/dev/null); do
	echo "Running upstream tests with $py:"
	$py -m pytest tests/test.py tests/documentation.py
done