Unverified Commit 0f00ca7a authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

python3Packages.pycdio: disables tests that have problems with python… (#483931)

parents 2a52cb95 0e66ce80
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -39,10 +39,21 @@ buildPythonPackage (finalAttrs: {
    libiconv
  ];

  postPatch = ''
    substituteInPlace {data,test}/isofs-m1.cue \
      --replace-fail "ISOFS-M1.BIN" "isofs-m1.bin"
  '';

  nativeCheckInputs = [ pytestCheckHook ];

  enabledTestPaths = [ "test/test-*.py" ];

  disabledTests = [
    # Test are depending on image files that are not there
    "test_bincue"
    "test_cdda"
  ];

  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version=branch" ];
  };