Fix scripts for python3

2 jobs for test_ci in 2 minutes and 50 seconds (queued for 2 seconds)