Fix test_tasks.test_optional_args_in_tasks under PyPy

PyPy apparently creates distinct string objects here.