Fix failures in test_profilehooks when run with -3
1 file changed