Skip to content

Commit

Permalink
Merge 93c00fb into 8f4b6e0
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Chainz committed Jul 23, 2015
2 parents 8f4b6e0 + 93c00fb commit 81ada51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions freezegun/api.py
Expand Up @@ -351,6 +351,7 @@ def stop(self):
copyreg.dispatch_table.pop(real_date)
for module, module_attribute, original_value in self.undo_changes:
setattr(module, module_attribute, original_value)
self.undo_changes = []

time.time = time.time.previous_time_function
time.gmtime = time.gmtime.previous_gmtime_function
Expand Down

0 comments on commit 81ada51

Please sign in to comment.