File: pytest-import-plugin

package info (click to toggle)
python-libtmux 0.46.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,372 kB
  • sloc: python: 7,716; makefile: 199; sh: 21
file content (17 lines) | stat: -rwxr-xr-x 285 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

export PYTHONWARNINGS=d

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

cp -r tests $AUTOPKGTEST_TMP
cd "$AUTOPKGTEST_TMP"

ret=0

for py in $python3_all; do
    echo "=== $py ==="
    $py -c 'from libtmux import pytest_plugin; print(pytest_plugin);' || ret=1
done

exit $ret