1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00

pytestCheckHook: Fix support for spaces in disabled file paths

This commit is contained in:
Martin Weinelt 2021-01-24 16:27:21 +01:00 committed by Jonathan Ringer
parent 7b1310166c
commit 45e5ebfad8

View file

@ -42,7 +42,7 @@ function pytestCheckPhase() {
echo "Disabled test file \"$file\" does not exist. Aborting"
exit 1
fi
args+=" --ignore=$file"
args+=" --ignore=\"$file\""
done
args+=" ${pytestFlagsArray[@]}"
eval "@pythonCheckInterpreter@ $args"