Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hub-bla committed Aug 28, 2024
1 parent 00a1d99 commit 736b0ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bindings/python/tests/test_graph/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,15 +380,17 @@ def test_partial_shape_equals():
with pytest.raises(TypeError) as e:
ps = PartialShape.dynamic()
tuple_ps = ()
ps == tuple_ps
if ps == tuple_ps:
pass
assert (
"Cannot compare dynamic shape with <class 'tuple'>" in str(e.value)
)

with pytest.raises(TypeError) as e:
ps = PartialShape.dynamic()
list_ps = []
ps == list_ps
if ps == list_ps:
pass
assert (
"Cannot compare dynamic shape with <class 'list'>" in str(e.value)
)
Expand Down

0 comments on commit 736b0ea

Please sign in to comment.