This is a follow up to this conversation: https://github.com/pandas-dev/pandas/pull/25884#discussion_r270638199 Want to update test_api to explicitly check private modules that may also be in the namespace