Skip to content

Commit e928351

Browse files
committed
apache-airflow.pythonPackages.flask: fix test
1 parent c677376 commit e928351

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/by-name/ap/apache-airflow/package.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ let
5959
inherit version;
6060
hash = "sha256-7e6bCn/yZiG9WowQ/0hK4oc3okENmbC7mmhQx/uXeqA=";
6161
};
62+
postPatch = ''
63+
${o.postPatch or ""}
64+
substituteInPlace tests/test_cli.py \
65+
--replace-fail 'CliRunner(mix_stderr=False)' 'CliRunner()'
66+
'';
6267
nativeBuildInputs = (o.nativeBuildInputs or [ ]) ++ [
6368
pySelf.setuptools
6469
];

0 commit comments

Comments
 (0)