about summary refs log tree commit diff
path: root/pkgs/development/python-modules/orjson
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-11-11 01:53:59 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-11-11 02:07:43 +0100
commit95b73dad899bad669186fe928493cdfcbd0c58ee (patch)
tree423a9e4199002be2acf12f7664a2c36c614eaf36 /pkgs/development/python-modules/orjson
parentfcc8eb092150596d204459a2e6c855a8559b8a9b (diff)
python3Packages.orjson: Disable failing tests on 32 bit
Disables two tests that result in an integer overflow.
Diffstat (limited to 'pkgs/development/python-modules/orjson')
-rw-r--r--pkgs/development/python-modules/orjson/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/orjson/default.nix b/pkgs/development/python-modules/orjson/default.nix
index d649d6ccbbace..d5815ce69866a 100644
--- a/pkgs/development/python-modules/orjson/default.nix
+++ b/pkgs/development/python-modules/orjson/default.nix
@@ -52,6 +52,12 @@ buildPythonPackage rec {
     xxhash
   ];
 
+  disabledTests = lib.optionals (stdenv.is32bit) [
+    # integer overflow on 32bit
+    "test_numpy_array_d1_intp"
+    "test_numpy_array_d1_uintp"
+  ];
+
   pythonImportsCheck = [ pname ];
 
   meta = with lib; {