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 Barry Davis, ionelmc, neologix, nikicat, pitrou, vstinner, zwol
Date 2019-04-12.15:17:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555082246.12.0.179027905927.issue18748@roundup.psfhosted.org>
In-reply-to
Content
To debug remaining "Exception ignored in:" issues, I'm using the following patch:

diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
index 972a4658b1..be38af3daa 100644
--- a/Lib/unittest/case.py
+++ b/Lib/unittest/case.py
@@ -710,6 +710,7 @@ class TestCase(object):
 
             # clear the outcome, no more needed
             self._outcome = None
+            import gc; gc.collect()
 
     def doCleanups(self):
         """Execute all cleanup functions. Normally called for you after

And I run:

./python -X dev -u -m test test_io -v 2>&1|tee log
History
Date User Action Args
2019-04-12 15:17:26vstinnersetrecipients: + vstinner, pitrou, ionelmc, neologix, nikicat, zwol, Barry Davis
2019-04-12 15:17:26vstinnersetmessageid: <1555082246.12.0.179027905927.issue18748@roundup.psfhosted.org>
2019-04-12 15:17:26vstinnerlinkissue18748 messages
2019-04-12 15:17:25vstinnercreate