In changes.txt, first mentioned of MuPDF must match setup.version_mupdf.
()
| 73 | |
| 74 | |
| 75 | def test_release_changelog_mupdf_version(): |
| 76 | ''' |
| 77 | In changes.txt, first mentioned of MuPDF must match setup.version_mupdf. |
| 78 | ''' |
| 79 | p = f'{g_root}/changes.txt' |
| 80 | with open(p) as f: |
| 81 | text = f.read() |
| 82 | m = re.search(f'\n[*] Use MuPDF-([0-9.]+)[.]\n', text) |
| 83 | assert m, f'Cannot parse {p}.' |
| 84 | assert m[1] == setup.version_mupdf, \ |
| 85 | f'{_file_line(p, text, m)}: First mentioned MuPDF version does not match {setup.version_mupdf=}: {m[0].strip()!r}.' |
nothing calls this directly
no test coverage detected
searching dependent graphs…