# Overcoming Testing Obstacles With Python's Mock Object Library

> Episode of [The Real Python Podcast](https://podistic.com/podcast/the-real-python-podcast.md) · Published February 27, 2026 · Duration 39:41 · Episode 286, season 1

- **Listen on Podistic:** https://podistic.com/episode/overcoming-testing-obstacles-with-pythons-mock-object-library
- **Audio:** https://dts.podtrac.com/redirect.mp3/files.realpython.com/podcasts/RPP_E286_03_PyCoders.a55572818314.mp3 (audio/mpeg)

## About this episode

Do you have complex logic and unpredictable dependencies that make it hard to write reliable tests? How can you use Python's mock object library to improve your tests? Christopher Trudeau is back on the show this week with another batch of PyCoder's Weekly articles and projects.
