File: run-tests

package info (click to toggle)
autoflake 2.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: python: 3,952; makefile: 17; sh: 6
file content (7 lines) | stat: -rwxr-xr-x 220 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh
set -e
sed '33 i AUTOFLAKE_COMMAND = ["/usr/bin/autoflake"]' test_autoflake.py > "$AUTOPKGTEST_TMP/test_autoflake.py"
cd "$AUTOPKGTEST_TMP"
for py in $(py3versions -s); do
    $py -Wd -m pytest -v -x 2>&1
done