#!/bin/sh

set -e

export VIRTUAL_ENV=/usr

cp -r pyproject.toml tests ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}
for p in $(py3versions -s); do
    $p -m pytest tests -k 'not TestEndToEnd and not test_format_code_strip_blank_line_after_module_variable and not test_format_code_class_docstring and not test_format_code_strip_blank_line_after_class_variable'
done
