DEV Community

Discussion on: A Test Driven Approach to Python Packaging

Collapse
 
inuwashi profile image
Adam Grandt

Hi Derek, that was the most concise summery of the ModuleNotFoundError issue I ever read. Really fantastically done.

Being one of those old devs who has missed the init.py change in 3.3 this was especially valuable.

Thank you so much for putting this together.

I did find a little typo in exemple 2 I think "python -m unittesttest_greeter.py" wanted to be "python -m unittest test_greeter.py"

Collapse
 
ezzy1337 profile image
Derek D.

Thanks for pointing that out. It's fixed now. I'm glad the article was valuable. I grappled with when/how to use __init__.py for years before sitting down and just figuring it out. I was surprised by a lot of it so I knew I had to share.