Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Fix expect() to properly raise exception #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vajdera
Copy link

@vajdera vajdera commented Jun 19, 2024

expect() description states the in case of timeout an exception is raised however it never is. This commit adds raising exception to 'expect()' and uses new TimeoutError (see PEP 3151).

`expect()` description states the in case of timeout an exception is raised however it never is. This commit adds raising exception to 'expect()' and uses new TimeoutError (see PEP 3151).
@vajdera vajdera marked this pull request as ready for review June 19, 2024 10:43
@forose
Copy link

forose commented Jul 31, 2024

yes,I modified the py in myself env like this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants