Unverified Commit 897f4ea6 authored by natsukium's avatar natsukium
Browse files

python312Packages.rustworkx: enable tests

parent b685ddd6
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
  libiconv,
  stdenv,
  lib,
  pytestCheckHook,
}:

buildPythonPackage rec {
@@ -45,12 +46,17 @@ buildPythonPackage rec {

  buildInputs = [ numpy ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];

  checkInputs = [
  nativeCheckInputs = [
    fixtures
    networkx
    pytestCheckHook
    testtools
  ];

  preCheck = ''
    rm -r rustworkx
  '';

  pythonImportsCheck = [ "rustworkx" ];

  meta = with lib; {