python,test: Fixed boot test in python3 by removing map

In Python3 `map(lambda c: c.createThreads(), self.cpu)` does not
execute `c.createThreads()`. This has been replaced with a for-loop
which does work. Without this fix, the boot tests do not run in python3.

Change-Id: I50d6c85ec4435ee04e248ea8bc4a3b4cc17c88fa
Tested-by: kokoro <>
Reviewed-by: Jason Lowe-Power <>
Reviewed-by: Anthony Gutierrez <>
Maintainer: Jason Lowe-Power <>
1 file changed