I\'m trying to mock file open, and all of the examples show that I need to
@patch(\'open\', create=True)
but I keep getting
In Python 3 you should use:
@mock.patch("builtins.open", create=True)