Show More
@@ -1290,8 +1290,13 b' class TestResult(unittest._TextTestResul' | |||||
1290 | else: |
|
1290 | else: | |
1291 | self.stream.write('\n') |
|
1291 | self.stream.write('\n') | |
1292 | for line in lines: |
|
1292 | for line in lines: | |
1293 |
|
|
1293 | if sys.version_info[0] > 2: | |
1294 | self.stream.flush() |
|
1294 | self.stream.flush() | |
|
1295 | self.stream.buffer.write(line) | |||
|
1296 | self.stream.buffer.flush() | |||
|
1297 | else: | |||
|
1298 | self.stream.write(line) | |||
|
1299 | self.stream.flush() | |||
1295 |
|
1300 | |||
1296 | # handle interactive prompt without releasing iolock |
|
1301 | # handle interactive prompt without releasing iolock | |
1297 | if self._options.interactive: |
|
1302 | if self._options.interactive: |
General Comments 0
You need to be logged in to leave comments.
Login now