Changeset - 0342c5b83e70
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 2 years ago 2022-02-04 08:11:54
ben@sturm.com.au
tests: Replace skipUnless with skipif.

The function skipUnless is available in `unittest`, but not `pytest`.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
tests/test_pdfforms_fill.py
Show inline comments
...
 
@@ -345,7 +345,7 @@ def test_main_generate_fdf():
 
    else:
 
        pytest.fail(f"pattern {pattern!r} not found in FDF output")
 

	
 
@pytest.mark.skipUnless(PDFTK, "need pdftk installed")
 
@pytest.mark.skipif(not PDFTK, reason="need pdftk installed")
 
@pytest.mark.xfail(reason="`pdftk fill_form` expects a full PDF")
 
def test_main_fill_pdf():
 
    arglist = [
0 comments (0 inline, 0 general)