Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow freeze_time to take date and datetime objects #20

Merged
merged 2 commits into from
May 5, 2013

Conversation

jgeewax
Copy link
Contributor

@jgeewax jgeewax commented May 5, 2013

Also raise an exception with a helpful error message if an invalid type is provided.

Also raise an exception with a helpful error message if an invalid type is provided.
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.34%) when pulling 6e69b48 on jgeewax:patch-1 into c1ab91a on spulec:master.

@spulec
Copy link
Owner

spulec commented May 5, 2013

If you can add a test or two, I'll happily pull this in.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling c1c6b9b on jgeewax:patch-1 into c1ab91a on spulec:master.

spulec added a commit that referenced this pull request May 5, 2013
Allow freeze_time to take date and datetime objects
@spulec spulec merged commit b90027c into spulec:master May 5, 2013
@spulec
Copy link
Owner

spulec commented May 5, 2013

Excellent. Thanks!

@spulec
Copy link
Owner

spulec commented May 5, 2013

It looks like this breaks on Python 3. https://travis-ci.org/spulec/freezegun/jobs/6890595

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants