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):
    # ...
prioritynormal
typeenhancement
done in0.36.0
load0.500
load left0.000
closed by<not specified>