Skip to content

Commit 24084e6

Browse files
authored
Fix tests (#8990)
1 parent ae26e75 commit 24084e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/core/pipeline/test_type_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,17 +267,17 @@ def test_type_name(type_, repr_):
267267

268268
@pytest.mark.parametrize("sender_type, receiver_type", symmetric_cases)
269269
def test_same_types_are_compatible_strict(sender_type, receiver_type):
270-
assert _types_are_compatible(sender_type, receiver_type, "strict")
270+
assert _types_are_compatible(sender_type, receiver_type, True)
271271

272272

273273
@pytest.mark.parametrize("sender_type, receiver_type", asymmetric_cases)
274274
def test_asymmetric_types_are_compatible_strict(sender_type, receiver_type):
275-
assert _types_are_compatible(sender_type, receiver_type, "strict")
275+
assert _types_are_compatible(sender_type, receiver_type, True)
276276

277277

278278
@pytest.mark.parametrize("sender_type, receiver_type", asymmetric_cases)
279279
def test_asymmetric_types_are_not_compatible_strict(sender_type, receiver_type):
280-
assert not _types_are_compatible(receiver_type, sender_type, "strict")
280+
assert not _types_are_compatible(receiver_type, sender_type, True)
281281

282282

283283
incompatible_type_cases = [

0 commit comments

Comments
 (0)