XXX about extreme expense of test_no_leaking() on Windows. I'm not sure

what this is trying to do.  If it's necessary for it to create > 1000
processes, it should be controlled by a new resource and not run by
default on Windows.
This commit is contained in:
Tim Peters 2004-10-13 03:14:40 +00:00
parent 7b759da1b8
commit f73cc9714f

View File

@ -317,6 +317,7 @@ class ProcessTestCase(unittest.TestCase):
# Interpreter without universal newline support
self.assertEqual(stdout, "line1\nline2\rline3\r\nline4\r\nline5\nline6")
# XXX test_no_leaking takes > a minute to run on a high-end WinXP Pro box
def test_no_leaking(self):
# Make sure we leak no resources
for i in range(1026):