Antoine Pitrou <[email protected]> added the comment:
> The attached patch has both the code to make test skipping more
> obvious as well as eliminating the concept of expected skips.
I still don't like the idea that we have to hand-maintain lists of
"optional" or "required" platforms. It is not more manageable than the
list of "expected" tests.
For example:
-import_module('_ctypes')
+import_module('_ctypes', optional=['openbsd3', 'netbsd3'])
there are other platforms where _ctypes is not supported. We don't want
to maintain a list of them.
Same for:
+pty = import_module('pty',
+ optional=['win32', 'os2emx', 'freebsd4', 'freebsd5', 'freebsd6',
+ 'freebsd7', 'freebsd8'])
Do you want to keep track of the specificities of each version of the *BSDs?
I'm not sure why you have "optional" and "required_on". Either
"optional" and "required", or "optional_on" and "required_on", would be
more logical (the former looks less verbose to me).
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10966>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com