This is known to fail if MuPDF is built without PyMuPDF's custom config.h, e.g. in Linux system installs.
()
| 100 | assert t == alphas |
| 101 | |
| 102 | def test_color_count(): |
| 103 | ''' |
| 104 | This is known to fail if MuPDF is built without PyMuPDF's custom config.h, |
| 105 | e.g. in Linux system installs. |
| 106 | ''' |
| 107 | pm = pymupdf.Pixmap(imgfile) |
| 108 | assert pm.color_count() == 40624 |
| 109 | |
| 110 | def test_memoryview(): |
| 111 | pm = pymupdf.Pixmap(imgfile) |
nothing calls this directly
no test coverage detected
searching dependent graphs…