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.
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.
No comments yet.