def test_render_png_made_up_hw(client):
  with pytest.raises(handwritingio.ValidationError) as exc_info:
    client.render_png({
        'handwriting_id': 'made_up_id',
        'text': 'foo',
    })
  assert repr(exc_info.value) in 'handwriting_id'
dataset/ETHPy150Open handwritingio/python-client/test/test_client.py/test_render_png_made_up_hw/swapped operands of `in`