Commit a49fdd3
committed
Treat warnings as errors in tests
We need to make an exception for `PytestUnraisableExceptionWarning`
because we have some cleanup issues, and sometimes exceptions are raised
in `__del__` methods, for example when trying to do async stuff and the
event loop is already closed. This could even be caused by the GC, some
time after the test function that has the issue was completed.
Signed-off-by: Leandro Lucarella <[email protected]>1 parent e10d5e9 commit a49fdd3
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
166 | 174 | | |
167 | 175 | | |
168 | 176 | | |
| |||
0 commit comments