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 vstinner
Recipients vstinner
Date 2019-11-21.08:10:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574323835.96.0.743188820296.issue38875@roundup.psfhosted.org>
In-reply-to
Content
bpo-35983 added new tests to test_capi: test_capi now takes 1 minute 31 seconds :-( Previously, test_capi only took 9.5 seconds!

commit 351c67416ba4451eb3928fa0b2e933c2f25df1a3
Author: Jeroen Demeyer <J.Demeyer@UGent.be>
Date:   Fri May 10 19:21:11 2019 +0200

    bpo-35983: skip trashcan for subclasses (GH-11841)
    
    Add new trashcan macros to deal with a double deallocation that could occur when the `tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that base class uses the trashc
an mechanism.
    
    Patch by Jeroen Demeyer.

Attached PR modify these two tests to require the "cpu" resource. So by default, tests are not run and test_capi takes again 9.5 seconds instead of 1 min 30 sec.

Note: Travis CI runs the test suite using -uall,-cpu.
History
Date User Action Args
2019-11-21 08:10:36vstinnersetrecipients: + vstinner
2019-11-21 08:10:35vstinnersetmessageid: <1574323835.96.0.743188820296.issue38875@roundup.psfhosted.org>
2019-11-21 08:10:35vstinnerlinkissue38875 messages
2019-11-21 08:10:35vstinnercreate