Hacker News new | ask | show | jobs
by ruszki 235 days ago
What are those mock pitfalls, which are avoided by freezegun which is a mock according even to them? IoC and Clocks solve the same problem. So what are the pitfalls of using those instead of this other mock?
1 comments

Applying it to the wrong module, a very common mistake in python due to how imports work.