about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2023-09-01 22:45:22 -0400
committerBen Wolsieffer <benwolsieffer@gmail.com>2023-09-25 21:33:59 -0400
commitadf495d55f131c11ae0c31a52154138836332258 (patch)
tree66fb3508602d8b96db805115f3093275de8e9d21
parent1068053205f6fec8be64d5f45781f51977537fc1 (diff)
python3Packages.argon2-cffi: use pytestCheckHook
-rw-r--r--pkgs/development/python-modules/argon2-cffi/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/argon2-cffi/default.nix b/pkgs/development/python-modules/argon2-cffi/default.nix
index 7b7446641b4b5..da9022c93f192 100644
--- a/pkgs/development/python-modules/argon2-cffi/default.nix
+++ b/pkgs/development/python-modules/argon2-cffi/default.nix
@@ -1,5 +1,5 @@
 { hypothesis
-, pytest
+, pytestCheckHook
 , buildPythonPackage
 , fetchPypi
 , lib
@@ -24,10 +24,7 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ argon2-cffi-bindings ];
 
-  nativeCheckInputs = [ hypothesis pytest ];
-  checkPhase = ''
-    pytest tests
-  '';
+  nativeCheckInputs = [ hypothesis pytestCheckHook ];
 
   pythonImportsCheck = [ "argon2" ];