Skip to content

anonymous /gist:4261936

freeze_time fails this assertion
from freezegun import freeze_time
from datetime import datetime
@freeze_time("2012-01-14")
def test():
assert datetime.now() == datetime(2012, 01, 14)
if __name__ == "__main__":
test()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.