Commit 2b971b3
committed
Disable pytest unraisable exception warnings in unitcov tests
During out coverage tests, pytest complains about an unraisable
exception coming from Docling. Normally such an exception would be
entirely ignored and unraised, but pytest is erroring out when it sees
this exception. Docling behavior changed when it cannot find tesserocr
recently by adding a garbage collection method on the tesseract model
object, and if that fails to load properly it can throw this exception
during garbage collection. However, it's a harmless exception since it
failed to load anyway so we don't really care about it erroring out
during garbage collection.
Signed-off-by: Ben Browning <[email protected]>1 parent 91319df commit 2b971b3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments