Due to #9431, numpy distutils can now link against OpenBLAS and friends. However, for the functionality to work correctly, distutils depends on Python loading the __config__ module that will add the extra paths. This works well for end users, but doesn't work well for the tests that examine the behavior of f2py because the config module is not loading during testing.