[issue12600] Support parameterized TestCases in unittest

Terry J. Reedy report at bugs.python.org
Sat Jul 23 00:04:01 CEST 2011


Terry J. Reedy <tjreedy at udel.edu> added the comment:

David, is this the sort of thing you mean?

@skip # so do not run without backend
class AbstractDB2Testcase:
  backend = None
  <code>

class PostgressDB2Testcase(AbstractDB2Testcase):
  backend = postgress # well, enough info to fine it

...

If so, I think we should close this.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12600>
_______________________________________


More information about the Python-bugs-list mailing list