python3Packages.essentials: disable broken tests on darwin
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
stdenv,
|
||||
lib,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
@@ -21,6 +22,12 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# time.sleep(0.01) can be up to 0.05s on darwin
|
||||
"test_stopwatch"
|
||||
"test_stopwatch_with_context_manager"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "essentials" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user