python310Packages.readability-lxml: disable broken test on darwin (#250407)

* python310Packages.readability-lxml: disable broken test on darwin

This test is broken on darwin. The test is fixed in master for
readability-lxml, but the fix requires pulling in a few dependencies
which are not packaged in nixpkgs.

* Update pkgs/development/python-modules/readability-lxml/default.nix

Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>

---------

Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
Keegan Carruthers-Smith 2023-08-22 13:25:39 +02:00 committed by GitHub
parent 6433bbe35c
commit 0bcaa8a464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,8 +31,12 @@ buildPythonPackage rec {
timeout-decorator
];
disabledTests = lib.optionals stdenv.isDarwin [
# Test is broken on darwin. Fix in master from https://github.com/buriy/python-readability/pull/178
"test_many_repeated_spaces"
];
meta = with lib; {
broken = stdenv.isDarwin;
description = "Fast python port of arc90's readability tool";
homepage = "https://github.com/buriy/python-readability";
license = licenses.asl20;