Skip to content

Commit

Permalink
fix tests to also ignore non-existing modules
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesBuchner committed Jun 6, 2020
1 parent df93e23 commit 5c27088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtests.sh
Expand Up @@ -40,8 +40,8 @@ echo "checking that pytest misuse causes error"
coverage run -a ./pystrict3.py --import-any tests/examples-bad-external/7.py && exit 1
echo "checking that a non-existing module does not cause an error"
coverage run -a ./pystrict3.py --import-builtin tests/examples-good-external/7.py || exit 1
echo "checking that a non-existing module causes error"
coverage run -a ./pystrict3.py --import-any tests/examples-good-external/7.py && exit 1
echo "checking that a non-existing module does not cause an error"
coverage run -a ./pystrict3.py --import-any tests/examples-good-external/7.py || exit 1

echo "checking numpy inspection"
coverage run -a ./pystrict3.py --import-any tests/examples-bad-external/13.py && exit 1
Expand Down

0 comments on commit 5c27088

Please sign in to comment.