New submission from Jeroen Demeyer <j.deme...@ugent.be>: When this test from Lib/test/test_profile.py fail, it just prints a message and doesn't fail the testsuite:
def test_cprofile(self): results = self.do_profiling() expected = self.get_expected_output() self.assertEqual(results[0], 1000) for i, method in enumerate(self.methodnames): if results[i+1] != expected[method]: print("Stats.%s output for %s doesn't fit expectation!" % (method, self.profilerclass.__name__)) print('\n'.join(unified_diff( results[i+1].split('\n'), expected[method].split('\n')))) ---------- components: Tests messages: 316287 nosy: jdemeyer priority: normal severity: normal status: open title: test_cprofile should fail instead of displaying a message _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33445> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com