python3Packages.nitime: unbreak (#510046)

This commit is contained in:
Nick Cao
2026-04-14 18:57:07 +00:00
committed by GitHub
@@ -4,6 +4,7 @@
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pytest-cov-stub,
cython,
setuptools,
setuptools-scm,
@@ -40,10 +41,22 @@ buildPythonPackage rec {
nibabel
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
doCheck = !stdenv.hostPlatform.isDarwin; # tests hang indefinitely
disabledTests = [
# [doctest] nitime.tests.test_timeseries.test_UniformTime_repr
# Expected:
# UniformTime([ 0., 1000., 2000., 3000., 4000.], time_unit='ms')
# Got:
# UniformTime([ 0., 1000., 2000., 3000., 4000.], time_unit='ms')
"test_UniformTime_repr"
];
pythonImportsCheck = [ "nitime" ];
meta = {