logilab-common #3724 add require_version and require_module functions [resolved]
It could be useful to have those 2 functions in order to declare that a test requires a specific version of python or a specfic module. If the requirement is not satisfied, the test would be skipped.
In python >= 2.4, we would then be able to write
@require_version('2.5') @require_module('mx.DateTime') def test_something(self): # ...
|appeared in||<not specified>|
|closed by||<not specified>|