python3Packages.bidict: rm bundled pytest.ini
...instead of calling pytest with `-c /dev/null` to bypass it. For some reason the latter suddenly started failing with a PermissionError on Darwin after working fine for a while. Fixes #299933.
This commit is contained in:
parent
f8614a1c3a
commit
ba4f6569d2
1 changed files with 5 additions and 6 deletions
|
@ -36,12 +36,11 @@ buildPythonPackage rec {
|
|||
typing-extensions
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# Pass -c /dev/null so that pytest does not use the bundled pytest.ini, which adds
|
||||
# options to run additional integration tests that are overkill for our purposes.
|
||||
"-c"
|
||||
"/dev/null"
|
||||
];
|
||||
# Remove the bundled pytest.ini, which adds options to run additional integration
|
||||
# tests that are overkill for our purposes.
|
||||
preCheck = ''
|
||||
rm pytest.ini
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "bidict" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue