(q)
| 6 | import multiprocessing as mp |
| 7 | |
| 8 | def job(q): |
| 9 | res = 0 |
| 10 | for i in range(1000): |
| 11 | res += i+i**2+i**3 |
| 12 | q.put(res) # queue |
| 13 | |
| 14 | if __name__ == '__main__': |
| 15 | q = mp.Queue() |
nothing calls this directly
no outgoing calls
no test coverage detected