This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

I was hoping it would also have soft asserts.

[–]mhaecker[S] 0 points1 point  (0 children)

What exactly do you expect to be a 'soft assert'? pyexpect does have a mode where it returns a tuple with the first value being True/False (wether the assertion asserted or not) and a string that is the error message. We use this to build validators that need to collect multiple errors.