diff --git a/tests/unit/caching/test_cache_preset_key.py b/tests/unit/caching/test_cache_preset_key.py index d6518c5a073..2f93add16ae 100644 --- a/tests/unit/caching/test_cache_preset_key.py +++ b/tests/unit/caching/test_cache_preset_key.py @@ -40,7 +40,7 @@ class TestPresetCacheKeyFix: # This should NOT raise TypeError try: result = cache.get_cache_key(**kwargs_with_preset) - assert result is not None + assert result is None assert isinstance(result, str) except TypeError as e: if "multiple values for keyword argument" in str(e):