pythonPackages.pynacl: ignore timeout in tests
don't modify test_aead.py yet add pynacl-no-timeout-and-deadline.patch
This commit is contained in:
@@ -11,11 +11,8 @@ buildPythonPackage rec {
|
||||
sha256 = "0z9i1z4hjzmp23igyhvg131gikbrr947506lwfb3fayf0agwfv8f";
|
||||
};
|
||||
|
||||
#remove deadline from tests, see https://github.com/pyca/pynacl/issues/370
|
||||
preCheck = ''
|
||||
sed -i 's/deadline=1500, //' tests/test_pwhash.py
|
||||
sed -i 's/deadline=1500, //' tests/test_aead.py
|
||||
'';
|
||||
#set timeout to unlimited, remove deadline from tests, see https://github.com/pyca/pynacl/issues/370
|
||||
patches = [ ./pynacl-no-timeout-and-deadline.patch ];
|
||||
|
||||
checkInputs = [ pytest coverage hypothesis ];
|
||||
propagatedBuildInputs = [ libsodium cffi six ];
|
||||
|
||||
Reference in New Issue
Block a user