summaryrefslogtreecommitdiff
path: root/tests/test_sanity.py
diff options
context:
space:
mode:
authorJames R. Barlow <james@purplerock.ca>2021-08-18 14:08:06 -0700
committerJames R. Barlow <james@purplerock.ca>2021-08-18 14:08:06 -0700
commit259eb4511e59b31737118d3846ebd662aad89a17 (patch)
tree7e08aaa524ec6eecf29f7b06ce4c92987f72b5e8 /tests/test_sanity.py
parent965e9abaeb6134a529a3497fc86b89cf78d493e4 (diff)
Remove deprecated Pdf.root
Diffstat (limited to 'tests/test_sanity.py')
-rw-r--r--tests/test_sanity.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/test_sanity.py b/tests/test_sanity.py
index 14ab9e3..5c14201 100644
--- a/tests/test_sanity.py
+++ b/tests/test_sanity.py
@@ -45,12 +45,6 @@ def test_attr_access(resources):
assert int(pdf.Root.Pages.Count) == 1
-def test_root(resources):
- pdf = Pdf.open(resources / 'graph.pdf')
- with pytest.warns(DeprecationWarning):
- assert pdf.root == pdf.Root
-
-
def test_create_pdf(outdir):
pdf = Pdf.new()