Merge pull request #300044 from jab/fix/299933

python3Packages.bidict: overwrite bundled pytest.ini
This commit is contained in:
Sandro 2024-04-02 20:37:04 +02:00 committed by GitHub
commit 49c65248fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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