mirror of
https://github.com/python/cpython.git
synced 2025-11-14 07:49:28 +00:00
Merged revisions 76149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76149 | antoine.pitrou | 2009-11-08 01:30:04 +0100 (dim., 08 nov. 2009) | 11 lines
Merged revisions 76148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76148 | antoine.pitrou | 2009-11-08 01:24:12 +0100 (dim., 08 nov. 2009) | 4 lines
Kill a small potential leak in test_threading.
The leak may not manifest itself if the OS re-uses the same thread ids
(I suppose Neal's machine doesn't :-))
........
................
This commit is contained in:
parent
3d26b95ca7
commit
debfafd4e2
1 changed files with 2 additions and 0 deletions
|
|
@ -101,6 +101,8 @@ class ThreadTests(unittest.TestCase):
|
|||
_thread.start_new_thread(f, ())
|
||||
done.wait()
|
||||
self.assertFalse(ident[0] is None)
|
||||
# Kill the "immortal" _DummyThread
|
||||
del threading._active[ident[0]]
|
||||
|
||||
# run with a small(ish) thread stack size (256kB)
|
||||
def test_various_ops_small_stack(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue