diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 65594a5aa6b0a159a82de0a9c3b1ba144e530efa..63d3be17c29698f42471af70443a1a9e7eb87f11 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -240,10 +240,16 @@ (define-public python-ecdsa
        (sha256
         (base32 "13nx5cbfxc0gnax5zwdmp9xc40qd1llk62mv85jyrvqkbw017ik4"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _ (invoke "pytest"))))))
     (propagated-inputs
      `(("python-six" ,python-six)))
     (native-inputs
-     `(("openssl" ,openssl)))
+     `(("openssl" ,openssl)
+       ("python-pytest" ,python-pytest)))
     (home-page "https://github.com/warner/python-ecdsa")
     (synopsis "ECDSA cryptographic signature library (pure python)")
     (description