@hypothesis.given(strategies.text())
def test_entry_parse_hypothesis(text):
 try:
  history.Entry.from_str(text)
 except ValueError:
  pass

@ hypothesis . given ( strategies . text ( ) ) def test_entry_parse_hypothesis ( text ) : try : history . Entry . from_str ( text ) except ValueError : pass
make sure parsing works or gives us valueerror .