Fix test that checks if an OSError occurs in flake8, the function do not raises an exception, it return false.