I've come across a niche situation while writing unit tests in python. I want to assert that the user was not prompted for input. There are plenty of examples showing how to simulate input using unittest.mock, or how to tell if methods of a user-defined object were called. However, input is a python builtin method.
What would be the best way of doing this?