about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cryptography/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/cryptography/default.nix')
-rw-r--r--pkgs/development/python-modules/cryptography/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cryptography/default.nix b/pkgs/development/python-modules/cryptography/default.nix
index 2771e74e1340..603f92336c05 100644
--- a/pkgs/development/python-modules/cryptography/default.nix
+++ b/pkgs/development/python-modules/cryptography/default.nix
@@ -51,6 +51,10 @@ buildPythonPackage rec {
     hypothesis
   ];
 
+  checkPhase = ''
+    py.test --disable-pytest-warnings tests
+  '';
+
   # The test assumes that if we're on Sierra or higher, that we use `getentropy`, but for binary
   # compatibility with pre-Sierra for binary caches, we hide that symbol so the library doesn't
   # use it. This boils down to them checking compatibility with `getentropy` in two different places,