From e83fc629e627c25e07fdd914188433a8558a551c Mon Sep 17 00:00:00 2001 From: Ravi Kumar Pilla Date: Thu, 10 Oct 2024 14:12:31 -0500 Subject: [PATCH] Fix max recursion depth build issue (#2130) * sync remote * fix deep recursions * fix deep recursions * fix deep recursions * revert win test condition * revert win test condition * revert win test condition --- package/tests/test_models/test_flowchart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tests/test_models/test_flowchart.py b/package/tests/test_models/test_flowchart.py index eab528381..01238f286 100644 --- a/package/tests/test_models/test_flowchart.py +++ b/package/tests/test_models/test_flowchart.py @@ -1,7 +1,7 @@ from functools import partial from pathlib import Path from textwrap import dedent -from unittest.mock import Mock, call, patch +from unittest.mock import call, patch import pytest from kedro.io import MemoryDataset @@ -232,7 +232,7 @@ def test_create_single_parameter_with_complex_type(self): assert isinstance(parameters_node.parameter_value, str) def test_create_all_parameters_with_complex_type(self): - mock_object = Mock() + mock_object = object() parameters_dataset = MemoryDataset( data={ "test_split_ratio": 0.3,