File: unittests

package info (click to toggle)
python-socks 2.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 604 kB
  • sloc: python: 5,212; sh: 8; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 184 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -efu

pys="$(py3versions -s 2> /dev/null)"

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

for py in $pys; do
  echo "=== $py ==="
  $py -m pytest tests 2>&1
done