TST: python lambdas are unhelpful