1f:
2{
3 system ? builtins.currentSystem,
4 pkgs ? import ../.. {
5 inherit system;
6 config = { };
7 overlays = [ ];
8 },
9 ...
10}@args:
11
12with import ../lib/testing-python.nix { inherit system pkgs; };
13
14makeTest (
15 if pkgs.lib.isFunction f then
16 f (
17 args
18 // {
19 inherit pkgs;
20 inherit (pkgs) lib;
21 }
22 )
23 else
24 f
25)