Python 2.7 fix for test_all_pages.