File: python3-urllib3

package info (click to toggle)
python-urllib3 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,340 kB
  • sloc: python: 26,167; makefile: 122; javascript: 92; sh: 11
file content (18 lines) | stat: -rwxr-xr-x 491 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -efu

export PYTHONWARNINGS=d
# Use patched hypercorn; see https://github.com/urllib3/urllib3/issues/3334
export PYTHONPATH=$(pwd)/debian/vendor
# Use longer timeouts, see https://github.com/urllib3/urllib3/issues/3164
export CI=1

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

cp -r dummyserver test "$AUTOPKGTEST_TMP/"
cd "$AUTOPKGTEST_TMP"

for py in $python3_all; do
    echo "=== $py ==="
    $py -m pytest --verbose -k "not requires_network and not test_recent_date"
done