Commit 530e2fc
committed
test_wait.py: fix tests testing exception
In pytest raises() returns an info object whose `value` attribute contains
the actual exception caught.
Converting to string used to work but currently it returns a string which
does not contain the exception text, so it is better to check for the actual
exception object instead.1 parent b107c6f commit 530e2fc
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments