File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def test_board_pin_write_manifest_name_error(board_manifest):
162162 if board_manifest .fs .protocol == "rsc" :
163163 pytest .skip ()
164164
165- with pytest .raises (PinsError ) as exc_info :
165+ with pytest .raises (ValueError ) as exc_info :
166166 board_manifest .pin_write ([1 ], "_pins.yaml" , type = "json" )
167167
168168 assert "name '_pins.yaml' is reserved for internal use." in exc_info .value .args [0 ]
@@ -173,14 +173,14 @@ def test_board_manifest_pin_list_no_internal_name(board_manifest):
173173
174174
175175def test_board_manifest_pin_exist_internal_name_errors (board_manifest ):
176- with pytest .raises (PinsError ) as exc_info :
176+ with pytest .raises (ValueError ) as exc_info :
177177 board_manifest .pin_exists ("_pins.yaml" )
178178
179179 assert "reserved for internal use." in exc_info .value .args [0 ]
180180
181181
182182def test_board_manifest_pin_read_internal_errors (board_manifest ):
183- with pytest .raises (PinsError ) as exc_info :
183+ with pytest .raises (ValueError ) as exc_info :
184184 board_manifest .pin_read ("_pins.yaml" )
185185
186186 assert "reserved for internal use." in exc_info .value .args [0 ]
You can’t perform that action at this time.
0 commit comments