fix failing test and resolve deprecation warning

This commit is contained in:
Michael Greene
2019-08-01 14:24:27 -07:00
parent fc71db27d0
commit 2bd4054674

View File

@@ -339,7 +339,7 @@ def test_oneline_cleartext(sf, cleartext):
@pytest.mark.regression(issue=199)
def test_armorable_empty_str():
with pytest.raises(ValueError, message='Expected: ASCII-armored PGP data'):
with pytest.raises(ValueError, match='Expected: ASCII-armored PGP data'):
Armorable.ascii_unarmor('')