[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate
Eric Snow
report at bugs.python.org
Wed Feb 6 10:14:19 CET 2013
Eric Snow added the comment:
Any objections to what Brett proposed? Any preferences on a name? How about DualImplementationTests? Here's a patch with tests.
I added a pure_python_only() decorator in addition to accelerated_only(). I also made both work as decorators for classes and methods (just like unittest.skip()).
Finally, I added on a with_module_exported() decorator to help with the scenario from issue #16817. Eli, I know it doesn't quite fill the gap you described in msg180669, but hopefully it's an improvement.
----------
Added file: http://bugs.python.org/file28973/dual-impl-tests.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17037>
_______________________________________
More information about the Python-bugs-list
mailing list