diff --git a/tests/unit/converters/test_pgm_json_converter.py b/tests/unit/converters/test_pgm_json_converter.py index 8dbf8876..dc54b9c9 100644 --- a/tests/unit/converters/test_pgm_json_converter.py +++ b/tests/unit/converters/test_pgm_json_converter.py @@ -64,7 +64,7 @@ def pgm_sparse_batch_data(): def test_parse_data(converter: PgmJsonConverter, structured_input_data, structured_batch_data): - with pytest.raises(PowerGridSerializationError, match="Expect a map or array."): + with pytest.raises(PowerGridSerializationError, match="Map or an array expected."): converter._parse_data(data="str", data_type="input", extra_info=None) # type: ignore # test for input dataset