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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17037>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to