Permalink
Commits on Jul 10, 2016
  1. Merge pull request #149 from sebatyler/master

    Set default tz=None to astimezone method
    committed on GitHub Jul 10, 2016
  2. Merge pull request #145 from xeor/master

    Fixing halfdone work using None parameter for freeze_time()
    committed on GitHub Jul 10, 2016
Commits on Jul 9, 2016
  1. Add test case

    sebatyler committed Jul 9, 2016
  2. Set default tz to None

    sebatyler committed Jul 9, 2016
Commits on Jun 25, 2016
  1. Fixing halfdone work using None parameter for freeze_time(), when usi…

    …ng 'with freeze_time() as ...' syntax.
    Lars Solberg committed Jun 25, 2016
Commits on Jun 19, 2016
Commits on May 18, 2016
  1. Merge pull request #144 from joac/master

    Add  method to change freezed time
    committed May 18, 2016
Commits on May 17, 2016
Commits on May 6, 2016
Commits on May 5, 2016
Commits on Apr 23, 2016
  1. 0.3.7

    committed Apr 23, 2016
Commits on Mar 4, 2016
  1. Merge pull request #139 from koobs/patch-1

    Globally exclude __pycache__ and py[co] from sdist
    committed Mar 4, 2016
Commits on Mar 3, 2016
Commits on Feb 14, 2016
  1. Merge pull request #135 from tvuotila/add-missing-parenthesis

    Add missing parenthesis
    committed Feb 14, 2016
  2. Merge pull request #132 from lamby/assume-the-default-time-to-freeze-…

    …is-now
    
    Assume the default time to freeze is "now".
    committed Feb 14, 2016
  3. Add missing parenthesis

    tvuotila committed Feb 14, 2016
Commits on Feb 11, 2016
  1. Assume the default time to freeze is "now".

    This is useful to avoid having to tediously pass in an initial time,
    allowing for cleaner tests like:
    
        def test_foo(self):
            with freeze_time() as t:
                spam()
                t.tick()
                eggs()
    
    instead of:
    
        def test_foo(self):
            dt = datetime.datetime.utcnow()
            with freeze_time(dt) as t:
                spam()
                t.tick()
                eggs()
    
    Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
    lamby committed Feb 11, 2016
Commits on Feb 2, 2016
  1. Merge pull request #131 from aliva/fix-hex-numbers

    do not use hex numbers in readme
    committed Feb 2, 2016
Commits on Jan 31, 2016
Commits on Jan 24, 2016
  1. 0.3.6

    committed Jan 24, 2016
Commits on Jan 14, 2016
  1. Merge pull request #119 from jcugat/issue-99

    Improved unpatching when importing modules after freeze_time start()
    committed Jan 14, 2016
Commits on Jan 8, 2016
  1. Cleanup code.

    committed Jan 8, 2016
  2. Merge pull request #122 from agriffis/cleanup

    Clean up and speed up start().
    committed Jan 8, 2016
  3. Merge pull request #125 from ekampf/patch-1

    Catch TypeError when fetching attribute values
    committed Jan 8, 2016
  4. Catch TypeError when fetching attribute values

    On the latest cryptography 1.2 we started getting TypeError here.
    Apparently one of the values when iterating dir(module) is a number and not a string :S
    ekampf committed Jan 8, 2016
Commits on Jan 5, 2016
  1. Clean up and speed up start().

    This commit cleans up start() by removing repeated lists and the long
    if-then chain. It's also faster (about 25%) by avoiding `if attribute_value
    not in real_things:` which tests equality rather than object identity.
    
    Avoiding the equality test has another bonus, which is that we can remove
    the try/except. This works fine in my test environment, which includes
    hiredis.
    agriffis committed Jan 4, 2016
Commits on Dec 10, 2015
  1. Merge pull request #121 from mre/patch-1

    Fix assertion in usage example
    committed Dec 10, 2015
  2. Fix assertion in usage example

    Also added missing module imports to make the example fully working
    mre committed Dec 10, 2015
Commits on Dec 6, 2015
  1. Add license info. Closes #120.

    committed Dec 6, 2015
Commits on Oct 28, 2015
  1. Merge pull request #117 from tonyseek/patch-1

    Add support to PyMySQL
    committed Oct 28, 2015
Commits on Oct 25, 2015
  1. Add support to PyMySQL

    tonyseek committed Oct 25, 2015
Commits on Oct 18, 2015
  1. Merge pull request #115 from tophatmonocle/master

    Add manual time increment (as a more controlled alternative to `tick=True`)
    committed Oct 18, 2015