Skip to content

Commit a54a978

Browse files
committed
Replace ValueError by RequirementError in test_conjunct_check_keys_1 and test_conjunct_check_keys_2
1 parent 570225c commit a54a978

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/unit/autojac/_transform/test_base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ def test_conjunct_check_keys_1():
6969

7070
assert output_keys == set()
7171

72-
with raises(ValueError):
72+
with raises(RequirementError):
7373
(t2 | t3).check_keys({a1, a2})
7474

75-
with raises(ValueError):
75+
with raises(RequirementError):
7676
(t1 | t2 | t3).check_keys({a1, a2})
7777

7878

@@ -93,10 +93,10 @@ def test_conjunct_check_keys_2():
9393

9494
assert output_keys == {a1, a2}
9595

96-
with raises(ValueError):
96+
with raises(RequirementError):
9797
(t1 | t3).check_keys(set())
9898

99-
with raises(ValueError):
99+
with raises(RequirementError):
100100
(t1 | t2 | t3).check_keys(set())
101101

102102

0 commit comments

Comments
 (0)