Hacker News new | comments | show | ask | jobs | submit login

Quick question: why did you need to write FreezeGun?

I've always used Mock http://www.voidspace.org.uk/python/mock/ to patch datetimes and I've never had any problems.

You can patch pretty much anything with Mock.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: