python3Packages.cryptography: fix disabledTestPaths value

Expects a path, not a pytest argument.
This commit is contained in:
Martin Weinelt 2022-04-15 16:02:21 +02:00
parent 5aa88e2354
commit 0e83e67ae1
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -74,7 +74,7 @@ buildPythonPackage rec {
disabledTestPaths = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
# aarch64-darwin forbids W+X memory, but this tests depends on it:
# * https://cffi.readthedocs.io/en/latest/using.html#callbacks
"--ignore=tests/hazmat/backends/test_openssl_memleak.py"
"tests/hazmat/backends/test_openssl_memleak.py"
];
meta = with lib; {