The logger_handler argument for a Logger instance should set the provided logger as the registered handler, regardless of what handlers are already set on logging.getLogger() outputs.
The problem here is that logging.getLogger() actually returns a logger of the class set previously by logging.setLoggerClass(), but the stub is inflexible and just assumes logging.Logger. I'm not sure ...