PYTHON-799 Python 2.4 compatibility in test_kill_cursors_warning.