lol

python311Packages.mat2: disable test_all_parametred test

`test_all_parametred` test is too sensitive.
It frequently fails when exiftool is updated and adds support for new metadata.

Also migrated `unittestCheckHook` to `pytestCheckHook` to be able to disable
the test (not possible easily with unittest). We can do that safely
since pytest also supports unittest test suites.

+6 -3
+6 -3
pkgs/development/python-modules/mat2/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , buildPythonPackage 4 - , unittestCheckHook 4 + , pytestCheckHook 5 5 , pythonOlder 6 6 , fetchFromGitLab 7 7 , substituteAll ··· 88 88 install -Dm 444 dolphin/mat2.desktop -t "$out/share/kservices5/ServiceMenus" 89 89 ''; 90 90 91 - nativeCheckInputs = [ unittestCheckHook ]; 91 + nativeCheckInputs = [ pytestCheckHook ]; 92 92 93 - unittestFlagsArray = [ "-v" ]; 93 + disabledTests = [ 94 + # Frequently fails when exiftool is updated and adds support for new metadata. 95 + "test_all_parametred" 96 + ]; 94 97 95 98 meta = with lib; { 96 99 description = "A handy tool to trash your metadata";