python3Packages.cbor2: disable failing tests on 32-bit platforms (#115219)

This commit is contained in:
Ben Wolsieffer 2021-03-05 20:52:09 -05:00 committed by GitHub
parent bf8e471eb9
commit e603b1cec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pytestCheckHook
@ -22,6 +23,12 @@ buildPythonPackage rec {
pytestCheckHook
];
# https://github.com/agronholm/cbor2/issues/99
disabledTests = lib.optionals stdenv.is32bit [
"test_huge_truncated_bytes"
"test_huge_truncated_string"
];
pythonImportsCheck = [ "cbor2" ];
meta = with lib; {