Show More
@@ -2563,19 +2563,21 b' class TestSuite(unittest.TestSuite):' | |||
|
2563 | 2563 | else: |
|
2564 | 2564 | raise ValueError('Could not find output channel') |
|
2565 | 2565 | channels[channel] = "=" + test.name[5:].split(".")[0] |
|
2566 | ||
|
2567 | r = None | |
|
2566 | 2568 | try: |
|
2567 | 2569 | test(result) |
|
2568 | done.put(None) | |
|
2569 | 2570 | except KeyboardInterrupt: |
|
2570 |
|
|
|
2571 | pass | |
|
2571 | 2572 | except: # re-raises |
|
2572 |
|
|
|
2573 | r = ('!', test, 'run-test raised an error, see traceback') | |
|
2573 | 2574 | raise |
|
2574 | 2575 | finally: |
|
2575 | 2576 | try: |
|
2576 | 2577 | channels[channel] = '' |
|
2577 | 2578 | except IndexError: |
|
2578 | 2579 | pass |
|
2580 | done.put(r) | |
|
2579 | 2581 | |
|
2580 | 2582 | def stat(): |
|
2581 | 2583 | count = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now