def test_render_png_missing_text(client, test_handwriting):
  with pytest.raises(handwritingio.ValidationError) as exc_info:
    client.render_png({
        'handwriting_id': test_handwriting['id'],
        # missing text
    })
  assert repr(exc_info.value) in 'text'
dataset/ETHPy150Open handwritingio/python-client/test/test_client.py/test_render_png_missing_text/swapped operands of `in`