summaryrefslogtreecommitdiff
path: root/tests/test_metadata.py
diff options
context:
space:
mode:
authorJames R. Barlow <jim@purplerock.ca>2019-04-14 00:26:55 -0700
committerJames R. Barlow <jim@purplerock.ca>2019-04-14 00:26:55 -0700
commit07154f4dec007e2e9c0c6a8c07b964fd06bc5f77 (patch)
tree61ec689af641fc045342e64bf348f024e8cc42de /tests/test_metadata.py
parent4bd7578cd1b15a45db94ca9b7f8458840fc30b3a (diff)
Update pytest-* versions and fix some tests
Diffstat (limited to 'tests/test_metadata.py')
-rw-r--r--tests/test_metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_metadata.py b/tests/test_metadata.py
index 555ce5c..375b7bc 100644
--- a/tests/test_metadata.py
+++ b/tests/test_metadata.py
@@ -361,10 +361,10 @@ def test_wrong_xml(enron1):
""".strip(),
)
meta = enron1.open_metadata()
- with pytest.raises(ValueError, message='not XMP'):
+ with pytest.raises(ValueError, match='not XMP'):
with meta:
pass
- with pytest.raises(ValueError, message='not XMP'):
+ with pytest.raises(ValueError, match='not XMP'):
meta['pdfaid:part']