Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 6, 2015
  1. Jesse London

    made class decoration respect py3k again: can ignore staticmethod, bu…

    jesteria authored
    …t just fail gracefully with non-function callables
Commits on Mar 5, 2015
  1. Jesse London
Commits on Feb 10, 2015
  1. Marc Abramowitz
Commits on Feb 5, 2015
Commits on Dec 31, 2014
  1. Andreas Pelme

    Fixed #73 - replace based on identity (is) comparision.

    pelme authored
    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
  2. Andreas Pelme

    Fixed #51 - Set __wrapped__ on the decorated function

    pelme authored
    `functools.update_wrapper` and `functools.wraps` sets `__wrapped__` in
    Python >= 3.2, so this fix only affects Python 2.X in freezegun.
    The mock library uses a similar fix:
    This change allows pytest to correctly figure out the real argument
    names and then inject fixtures properly:
Commits on Nov 20, 2014
Commits on Oct 27, 2014
  1. Merge pull request #60 from indradhanush/fix_utcnow_for_timezone_awar…

    Fix utcnow for timezone aware object
Commits on Oct 26, 2014
  1. Fix to not patch classmethods.

Commits on Oct 14, 2014
  1. Indradhanush Gupta

    Fixes #59

    indradhanush authored
Commits on Oct 12, 2014
  1. Python3 compat.

Commits on Sep 16, 2014
  1. Merge pull request #54 from imankulov/fix_astimezone

    Fix astimezone
Commits on Sep 14, 2014
  1. Roman Imankulov
  2. Roman Imankulov

    Fix isinstance verification in tests

    imankulov authored
    The FakeDateMeta metaclass addition made some assertions "always valid":
    the issubclass(obj, FakeDatetime) returns true both for fake and
    original datetime objects.
    To fix it a new set of helper functions was added. They test for exact
    obj.__class__ match instead.
Commits on Sep 13, 2014
  1. Allow multiple nested invocations of freeze_time

    Tye Wang authored
Commits on Sep 8, 2014
  1. Renames tests with duplicate test names

    Tye Wang authored
  2. Removed unused imports

    Tye Wang authored
Commits on Aug 14, 2014
Commits on Aug 6, 2014
  1. Andrew Rowls

    Decorate instead of injecting a mixin, so that super()-l…

    eternicode authored
    …ess setUp doesn't break things
Commits on May 22, 2014
  1. Rob Golding

    Make return a FakeDateTime with no timezone…

    robgolding63 authored
    … info
    ...rather than a FakeDate. is effectively an alias
    for, but freezegun was returning a FakeDate
    object instead of a FakeDateTime.
Commits on Apr 16, 2014
Commits on Mar 21, 2014
  1. Fix for pickling utcnow.

Commits on Jan 12, 2014
Commits on Jan 2, 2014
  1. Fredrik Westermark
Commits on Nov 15, 2013
  1. Martin Geisler

    Try Danish, German, and French locales when testing locale handling

    mgeisler authored
    This just increases the chance that the user will have a usable locale
    on his system.
  2. Martin Geisler
  3. Martin Geisler

    Use SkipTest from nose for Python 2.6 compatibility

    mgeisler authored
    The standard unittest module only got SkipTest from Python 2.7.
Commits on Nov 14, 2013
  1. Martin Geisler

    Avoid passing locale-dependent string to dateutil

    mgeisler authored
    When a date or datetime object is passed to freeze_time, it is
    converted to a string which is then later parsed with dateutil.
    The conversion was done using the '%x' format character, which return
    the appropriate date representation for the current locale. This means
    that you get '01/02/13' for January 2nd with the C and en_US locales,
    and '02/01/13' for the same date using most European locales. The
    string is then parsed incorrectly by dateutils.
    Using the isoformat method on date/datetime objects solves this by
    returning a string in 'yyyy-mm-dd' format. This string is parsed
    correctly by dateutil, regardless of the current locale.
Commits on Aug 30, 2013
  1. Roman Imankulov
Commits on Jun 21, 2013
Commits on Jun 18, 2013
Commits on May 5, 2013
  1. JJ Geewax
  2. JJ Geewax
Something went wrong with that request. Please try again.