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:
Joshua Bronson 2024-03-29 13:31:59 -04:00
parent f8614a1c3a
commit ba4f6569d2

View file

@ -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" ];