python3Packages.numpy: fix format and folder to run tests in

This commit is contained in:
Frederik Rietdijk
2022-09-15 16:38:31 +02:00
parent d068897347
commit df6feb4c08
@@ -47,7 +47,7 @@ in buildPythonPackage rec {
# https://github.com/scipy/scipy/issues/15414
version = "1.23.1";
format = "pyproject.toml";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
@@ -89,7 +89,7 @@ in buildPythonPackage rec {
checkPhase = ''
runHook preCheck
pushd dist
pushd "$out"
${python.interpreter} -c 'import numpy; numpy.test("fast", verbose=10)'
popd
runHook postCheck