homepage

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 davin, martin.panter, serhiy.storchaka, vstinner
Date 2016年04月15日.09:06:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460711197.72.0.0348456332697.issue26762@psf.upfronthosting.co.za>
In-reply-to
Content
Using this patch, I can see the list of "python" processes slowly growing:
diff -r ad5b079565ad Lib/unittest/case.py
--- a/Lib/unittest/case.py Tue Apr 12 23:15:44 2016 -0700
+++ b/Lib/unittest/case.py Fri Apr 15 11:06:07 2016 +0200
@@ -10,6 +10,7 @@ import warnings
 import collections
 import contextlib
 import traceback
+import os
 
 from . import result
 from .util import (strclass, safe_repr, _count_diff_all_purpose,
@@ -590,6 +591,7 @@ class TestCase(object):
 expecting_failure = expecting_failure_class or expecting_failure_method
 outcome = _Outcome(result)
 try:
+ os.system("ps")
 self._outcome = outcome
 
 with outcome.testPartExecutor(self):
@@ -614,6 +616,7 @@ class TestCase(object):
 self._addUnexpectedSuccess(result)
 else:
 result.addSuccess(self)
+ os.system("ps")
 return result
 finally:
 result.stopTest(self)
History
Date User Action Args
2016年04月15日 09:06:37vstinnersetrecipients: + vstinner, martin.panter, serhiy.storchaka, davin
2016年04月15日 09:06:37vstinnersetmessageid: <1460711197.72.0.0348456332697.issue26762@psf.upfronthosting.co.za>
2016年04月15日 09:06:37vstinnerlinkissue26762 messages
2016年04月15日 09:06:37vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /