test_closespider fixed for python 2.6