spulec/freezegun — pull request #74 by pelme (2014-12-31 16:24:48+00:00)
Title: Replace based on identity (is) comparision.

Special objects that overrides __eq__ which always returns True confuses the replacement.

Checking for the replacement functions by identity solves this problem. Equal (==) does identity comparisions anyways unless __eq__ is overriden.