diff options
Diffstat (limited to 'debian/patches/Fix-test_tokenfilter_is_abstract.patch')
-rw-r--r-- | debian/patches/Fix-test_tokenfilter_is_abstract.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/Fix-test_tokenfilter_is_abstract.patch b/debian/patches/Fix-test_tokenfilter_is_abstract.patch new file mode 100644 index 0000000..1a36c84 --- /dev/null +++ b/debian/patches/Fix-test_tokenfilter_is_abstract.patch @@ -0,0 +1,17 @@ +From: "James R. Barlow" <james@purplerock.ca> +Date: Wed, 6 Jan 2021 03:39:50 -0800 +Subject: Fix test_tokenfilter_is_abstract + +--- + tests/test_filters.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/tests/test_filters.py b/tests/test_filters.py +index 33124bf..5604961 100644 +--- a/tests/test_filters.py ++++ b/tests/test_filters.py +@@ -88,4 +88,3 @@ def test_tokenfilter_is_abstract(pal): + page = pikepdf.Page(pal.pages[0]) + with pytest.raises((RuntimeError, pikepdf.PdfError)): + page.get_filtered_contents(pikepdf.TokenFilter()) +- assert 'Tried to call pure virtual' in pal.get_warnings()[0] |