File: python3-urllib3

package info (click to toggle)
python-urllib3 1.26.12-1%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 3,024 kB
  • sloc: python: 17,767; makefile: 130; sh: 18
file content (24 lines) | stat: -rwxr-xr-x 651 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
set -efu

export PYTHONWARNINGS=d

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

cp -r test "$AUTOPKGTEST_TMP/"
cd "$AUTOPKGTEST_TMP"
rm -f test/conftest.py

for py in $python3_all; do
    echo "=== $py ==="
    $py -m pytest --verbose --ignore=test/appengine \
    --ignore=test/contrib/test_pyopenssl.py \
    --ignore=test/contrib/test_securetransport.py \
    --ignore=test/contrib/test_socks.py \
    --ignore=test/test_connectionpool.py \
    --ignore=test/test_ssl.py \
    --ignore=test/test_ssltransport.py \
    --ignore=test/with_dummyserver \
    -k 'not test_recent_date and not test_respect_retry_after_header_sleep' 2>&1

done