jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1303958?usp=email )
Change subject: Fix tests.tools_tests.OpenArchiveTestCase.test_7_zip_file ...................................................................... Fix tests.tools_tests.OpenArchiveTestCase.test_7_zip_file Bug: T429567 Change-Id: I33f0477cc29f5e7409f03626daf58a96c1b797c4 Signed-off-by: Xqt <[email protected]> --- M tests/tools_tests.py 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/tools_tests.py b/tests/tools_tests.py index 0ab24e3c..5f3bac0 100755 --- a/tests/tools_tests.py +++ b/tests/tools_tests.py @@ -145,10 +145,10 @@ self.assertIsNone(zf._process) self.assertEqual(repr(zf), 'tools.SevenZipFile[closed]') with self.assertRaisesRegex(ValueError, - r'I/O operation on closed file\.'): + r'I/O operation on closed file'): zf.read(100) with self.assertRaisesRegex(ValueError, - r'I/O operation on closed file\.'): + r'I/O operation on closed file'): zf.rewind() zf.close() # test that nothing happens here -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1303958?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I33f0477cc29f5e7409f03626daf58a96c1b797c4 Gerrit-Change-Number: 1303958 Gerrit-PatchSet: 3 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
