10from zmq_daq
import test_support
11from unittest
import main
17 final_collector =
False
23 final_collector =
True
26if __name__ ==
'__main__':
28 number_of_failures = 0
30 for i
in range(test_support.ZMQ_TEST_FOR_LOOPS):
33 except AssertionError:
34 number_of_failures += 1
37 message = f
'Number of failed for loops: {number_of_failures}/{test_support.ZMQ_TEST_FOR_LOOPS}'
38 if number_of_failures <= test_support.ZMQ_TEST_MAX_FAILURES:
41 basf2.B2FATAL(message)