Fix coverage for python 3