Skip to content

Commit a83fb34

Browse files
committed
Change assertion.
1 parent b9f7723 commit a83fb34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test_gnupg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ def test_invalid_outputs(self):
12491249
# which case status will not be set
12501250
if edata.status:
12511251
message = '%s (%s)' % (message, badout)
1252-
self.assertEqual(edata.status, message)
1252+
self.assertIn(edata.status, message)
12531253
finally:
12541254
os.chmod(encfname, 0o700)
12551255
os.remove(encfname)

0 commit comments

Comments
 (0)