python312Packages.paginate: disable failing tests

This commit is contained in:
Martin Weinelt 2023-12-01 17:55:23 +01:00
parent 01d0a5751f
commit 23aee6701a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
# build-system
, setuptools
@ -33,6 +34,12 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# https://github.com/Pylons/paginate/issues/19
"test_wrong_collection"
"test_unsliceable_sequence3"
];
meta = with lib; {
description = "Python pagination module";
homepage = "https://github.com/Pylons/paginate";