mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
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.
This commit is contained in:
parent
e3318309ab
commit
0f9ecf1da3
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, unittestCheckHook
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, fetchFromGitLab
|
||||
, substituteAll
|
||||
@ -88,9 +88,12 @@ buildPythonPackage rec {
|
||||
install -Dm 444 dolphin/mat2.desktop -t "$out/share/kservices5/ServiceMenus"
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
unittestFlagsArray = [ "-v" ];
|
||||
disabledTests = [
|
||||
# Frequently fails when exiftool is updated and adds support for new metadata.
|
||||
"test_all_parametred"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A handy tool to trash your metadata";
|
||||
|
Loading…
Reference in New Issue
Block a user