Merge pull request #243382 from tjni/rstcheck

python310Packages.rstcheck, python310Packages.rstcheck-core: disable failing darwin tests
This commit is contained in:
Fabian Affolter
2023-07-14 07:45:45 +02:00
committed by GitHub
2 changed files with 16 additions and 2 deletions
@@ -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"
];
@@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, docutils
, fetchFromGitHub
@@ -53,6 +54,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"
];