Skip to content

Commit

Permalink
Fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
p-wysocki committed Nov 25, 2024
1 parent 3969b58 commit 520987f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/python/tests/test_runtime/test_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 520987f

Please sign in to comment.