mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pytestCheckHook: Fix support for spaces in disabled file paths
This commit is contained in:
parent
7b1310166c
commit
45e5ebfad8
1 changed files with 1 additions and 1 deletions
|
@ -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