Unverified Commit 1c72baa0 authored by Moraxyc's avatar Moraxyc
Browse files

python3Packages.pydy: enable check

parent 2db5894f
Loading
Loading
Loading
Loading
+14 −2
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@
  scipy,
  sympy,
  setuptools,
  pynose,
  cython,
}:

buildPythonPackage rec {
@@ -26,8 +28,18 @@ buildPythonPackage rec {
    sympy
  ];

  # nose test does not support 3.10 or later
  doCheck = false;
  nativeCheckInputs = [
    pynose
    cython
  ];

  checkPhase = ''
    runHook preCheck

    nosetests pydy

    runHook postCheck
  '';

  pythonImportsCheck = [ "pydy" ];