Unverified Commit a1dd8f1b authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #313704 from Moraxyc/fix-pydy

python3Packages.pydy: enable check
parents a3df3198 1c72baa0
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" ];