python3Packages.datamodel-code-generator: fix failing test on Darwin

This commit is contained in:
Johan Herland
2026-08-05 11:06:46 +02:00
committed by Weijia Wang
parent 4f3cec9906
commit 64856d04de

View File

@@ -123,6 +123,9 @@ buildPythonPackage (finalAttrs: {
"test_type_checking_imports_default_to_runtime_imports_for_modular_pydantic_ruff"
];
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "datamodel_code_generator" ];
meta = {