[py-dev] py.test doesn't like functools.partial wrappers

Ronny Pfannschmidt Ronny.Pfannschmidt at gmx.de
Tue Aug 24 08:49:26 CEST 2010


on a sidenote, according to the tests one is supposed to just use the
name/description before the function in the result tuple

i.e. yield name, func, ... instead of yield partial_with_desc, ...

i suppose  setting a global from conftest could help if you just switch
cases after that

on pytest you could replace your decoration with a py.test.mark.forall
or something like that

Regards Ronny




More information about the Pytest-dev mailing list