'Don\'t compare microseconds as mongo doesn\'t encode below milliseconds'

def _compare_datetimes(self, datetime1, datetime2, msg=None):

    if (not (timedelta(seconds=(-1)) < (datetime1 - datetime2) < timedelta(seconds=1))):
        self.fail(self._formatMessage(msg, u'{}    !=    {}'.format(datetime1, datetime2)))
