Skip to content

Commit 5f0c1b2

Browse files
authored
Merge pull request #284 from PowerGridModel/fix/deserialization-msg-pgm-update
Update message in test for deserialization in PGM
2 parents 778ff69 + f4190cf commit 5f0c1b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/converters/test_pgm_json_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def pgm_sparse_batch_data():
6464

6565

6666
def test_parse_data(converter: PgmJsonConverter, structured_input_data, structured_batch_data):
67-
with pytest.raises(PowerGridSerializationError, match="Expect a map or array."):
67+
with pytest.raises(PowerGridSerializationError, match="Map or an array expected."):
6868
converter._parse_data(data="str", data_type="input", extra_info=None) # type: ignore
6969

7070
# test for input dataset

0 commit comments

Comments
 (0)