selftests/unit/test_utils_cpu.py: skip tests on older mock versions
Some versions of the unittest mock library cannot easily deal with
(builtin) open(). Let's skip these tests on those platforms, instead
of coming up with cumbersome code to support them on all (ancient)
versions.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录