diff --git a/frappe/tests/test_caching.py b/frappe/tests/test_caching.py index 4111ca8dfb..5ec2d353f2 100644 --- a/frappe/tests/test_caching.py +++ b/frappe/tests/test_caching.py @@ -75,7 +75,7 @@ class TestCachingUtils(IntegrationTestCase): # ensure single call if key is hashable for arg in hashable_values: - external_service.call_count = 0 + external_service.reset_mock() for _ in range(2): request_specific_api(arg, 13) @@ -83,7 +83,7 @@ class TestCachingUtils(IntegrationTestCase): # multiple calls if key cannot be generated for arg in unhashable_values: - external_service.call_count = 0 + external_service.reset_mock() for _ in range(2): request_specific_api(arg, 13) diff --git a/pyproject.toml b/pyproject.toml index 1486da9b18..0118bf201c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ "filetype~=1.2.0", "GitPython~=3.1.45", "Jinja2~=3.1.6", - "Pillow~=12.0.0", + "Pillow~=12.1.1", "PyJWT~=2.10.1", # We depend on internal attributes, # do NOT add loose requirements on PyMySQL versions.