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