File: nosetests

package info (click to toggle)
dh-python 5.20230130%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,392 kB
  • sloc: python: 5,210; makefile: 517; perl: 223; sh: 35
file content (13 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -eu

cp -r tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s); do
    $py -m nose2 --verbose --plugin nose2.plugins.doctests --with-doctest \
            --start-dir /usr/share/dh-python/dhpython

    PYTHONPATH=/usr/share/dh-python $py -m nose2 -v tests
done