diff --git a/src/bindings/python/tests/test_runtime/test_tensor.py b/src/bindings/python/tests/test_runtime/test_tensor.py index c06db961064912..424e8cd32f665b 100644 --- a/src/bindings/python/tests/test_runtime/test_tensor.py +++ b/src/bindings/python/tests/test_runtime/test_tensor.py @@ -623,7 +623,7 @@ def test_init_from_data_ptr(): arr = np.ones((8, 16, 300), dtype=np.float32) assert sys.getrefcount(arr) == 2 - pointer, _ = arr.__array_interface__['data'] + pointer, _ = arr.__array_interface__["data"] tensor = ov.Tensor(pointer, ov.Shape(arr.shape), ov.Type.f32) arr[0][0][0:2] = 0 assert sys.getrefcount(arr) == 2