Unverified Commit 0032be6d authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

python3Packages.bottleneck: avoid bash eval in pytestFlagsArray

We can just cd to $out to let the tests run from that folder
automatically. Additionally we get better test output, because the
/nix/store component is missing from file names.
parent c23f21be
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  pytestFlagsArray = [ "$out/${python.sitePackages}" ];
  preCheck = "pushd $out";
  postCheck = "popd";

  disabledTests = [ "test_make_c_files" ];