File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,18 @@ python3.pkgs.buildPythonApplication rec {
104104
105105 versionCheckProgramArg = "--version" ;
106106
107- pytestFlagsArray = [
108- "--no-cov"
109- # `disabledTests` swallows the parameters between square brackets
110- # https://github.com/tytso/e2fsprogs/issues/152
111- "-k 'not test_all_handlers[filesystem.extfs]'"
112- ] ;
107+ pytestFlagsArray =
108+ let
109+ # `disabledTests` swallows the parameters between square brackets
110+ disabled = [
111+ # https://github.com/tytso/e2fsprogs/issues/152
112+ "test_all_handlers[filesystem.extfs]"
113+ ] ;
114+ in
115+ [
116+ "--no-cov"
117+ "-k 'not ${ lib . concatStringsSep " and not " disabled } '"
118+ ] ;
113119
114120 passthru = {
115121 updateScript = gitUpdater { } ;
You can’t perform that action at this time.
0 commit comments