Fix python2 incompatibility

2 jobs for master in 15 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed job-flake8-2 #996244

00:00:14

passed job-flake8-3 #996245

00:00:15