tests.overriding: add overridePythonAttrs-plain

This commit is contained in:
Yueh-Shun Li
2026-01-12 14:49:32 +08:00
parent 18ab0dced5
commit d4956bb361

View File

@@ -465,6 +465,10 @@ let
expr = (applyOverridePythonAttrs (applyOverridePythonAttrs package-stub)).overridePythonAttrsFlag;
expected = 2;
};
overridePythonAttrs-plain = {
expr = (package-stub.overridePythonAttrs { overridePythonAttrsFlag = 0; }).overridePythonAttrsFlag;
expected = 0;
};
overrideAttrs-overridePythonAttrs-test-overrideAttrs = {
expr = {
inherit (applyOverridePythonAttrs (overrideAttrsFooBar package-stub))