New submission from Claudiu Popa: Hello. Here's a patch which uses self.assertEqual in various places across test_pydoc, instead of the current idiom:
if result != expected_text: print_diffs(expected_text, result) self.fail("outputs are not equal, see diff above") ---------- components: Tests files: modernize_test_pydoc.patch keywords: patch messages: 220793 nosy: Claudiu.Popa priority: normal severity: normal status: open title: Use self.assertEqual in test_pydoc type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file35667/modernize_test_pydoc.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21786> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com