• C
    Selftests: use builtins.open for mock · c96f3c46
    Cleber Rosa 提交于
    When the recent_mock() utility was introduced, I may have missed the
    fact that it would be possible to mock builtins.open().  Or, it may
    be that was only possible in Python 3.
    
    Anyway, now that we only support Python 3, let's just mock
    builtins.open() and drop this custom decorator.
    Signed-off-by: NCleber Rosa <crosa@redhat.com>
    c96f3c46
test_utils_process.py 31.6 KB