python310Packages.rstcheck-core: disable failing darwin tests

This commit is contained in:
Theodore Ni 2023-07-13 20:02:47 -07:00
parent 1ee277bfb5
commit 1e6d25efaf
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, docutils
, fetchFromGitHub
@ -45,6 +46,12 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [
# Disabled until https://github.com/rstcheck/rstcheck-core/issues/19 is resolved.
"test_error_without_config_file_macos"
"test_file_1_is_bad_without_config_macos"
];
pythonImportsCheck = [
"rstcheck_core"
];