Skip to content

Commit

Permalink
accidentally removed type
Browse files Browse the repository at this point in the history
  • Loading branch information
spulec committed May 22, 2013
1 parent 67257ea commit 7aec262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freezegun/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,6 @@ def freeze_time(time_to_freeze, tz_offset=0):

if not isinstance(time_to_freeze, string_type):
raise TypeError(('freeze_time() expected a string, date instance, or '
'datetime instance, but got type {0}.').format(time_to_freeze))
'datetime instance, but got type {0}.').format(type(time_to_freeze)))

return _freeze_time(time_to_freeze, tz_offset)

0 comments on commit 7aec262

Please sign in to comment.