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