This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jdemeyer
Recipients jdemeyer
Date 2018-05-08.14:29:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525789798.41.0.682650639539.issue33445@psf.upfronthosting.co.za>
In-reply-to
Content
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'))))
History
Date User Action Args
2018-05-08 14:29:58jdemeyersetrecipients: + jdemeyer
2018-05-08 14:29:58jdemeyersetmessageid: <1525789798.41.0.682650639539.issue33445@psf.upfronthosting.co.za>
2018-05-08 14:29:58jdemeyerlinkissue33445 messages
2018-05-08 14:29:58jdemeyercreate