##// END OF EJS Templates
Assert status is OK.
Itamar Turner-Trauring -
Show More
@@ -157,8 +157,9 b' class SubProcessTestCase(tt.TempFileMixin):'
157 157 there is no deadlock).
158 158 """
159 159 with capture_output(display=False):
160 system(("%s -c 'import sys\nfor i in range(20000): " +
161 "sys.stderr.write(\" \" * 100 + \"\\n\")'") % (python,))
160 status = system(("%s -c \"import sys\nfor i in range(20000): " +
161 "sys.stderr.write('b' * 100)\"") % (python,))
162 self.assertEqual(status, 0)
162 163
163 164 def test_getoutput(self):
164 165 out = getoutput('%s "%s"' % (python, self.fname))
General Comments 0
You need to be logged in to leave comments. Login now