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:
parent
7b1310166c
commit
45e5ebfad8
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue