Fixed test_click_compat.py to work on Python 3.