[docs] [issue28733] Show how to use mock_open in modules other that __main__