test_scheduler: Fix pep8 violation
This fixes ci build [1]
[1] https://jenkins.softwareheritage.org/job/DSCH/job/tests/859/console