# Python Testing with pytest, Second Edition: File not Found Error (page 43)

**URL:** <https://forum.devtalk.com/t/python-testing-with-pytest-second-edition-file-not-found-error-page-43/10777>\
**Category:** PragProg Customers\
**Tags:** book-python-testing-with-pytest-second-edition, errata\
**Created:** [23 June 2021 18:44 UTC](https://forum.devtalk.com/t/python-testing-with-pytest-second-edition-file-not-found-error-page-43/10777 "2021-06-23T18:44:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![leonW](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/l/74df32/32.png) [@leonW](https://forum.devtalk.com/u/leonW)\
**Post date:** [25 June 2021 18:15 UTC](https://forum.devtalk.com/t/python-testing-with-pytest-second-edition-file-not-found-error-page-43/10777/5 "2021-06-25T18:15:16Z")

</div>

I am using Mac OS Big Sur and bash v 5. Switching to a local dir made no difference. But see my reply—adding “create\_dirs=True” to statement in **init** method in db.py fixed my issue.

---

_[View the full topic](https://forum.devtalk.com/t/python-testing-with-pytest-second-edition-file-not-found-error-page-43/10777)._
