mocking python's open() function

Published: 10 June 2026
on channel: anthonywritescode
3,942
168

today we show how to mock a tricky function in python: `open` as well as the caveats and oddities of doing so!

playlist:    • anthony explains  

==========

twitch:   / anthonywritescode  
dicsord:   / discord  
twitter:   / codewithanthony  
github: https://github.com/asottile
stream github: https://github.com/anthonywritescode

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!


On this page of the site you can watch the video online mocking python's open() function with a duration of hours minute second in good quality, which was uploaded by the user anthonywritescode 10 June 2026, share the link with friends and acquaintances, this video has already been watched 3,942 times on youtube and it was liked by 168 viewers. Enjoy your viewing!