Message132044
> 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). |
|
Date |
User |
Action |
Args |
2011-03-24 22:00:00 | pitrou | set | recipients:
+ pitrou, brett.cannon, eric.araujo, r.david.murray |
2011-03-24 21:59:59 | pitrou | link | issue10966 messages |
2011-03-24 21:59:58 | pitrou | create | |
|