Skip to content

Instantly share code, notes, and snippets.

@hynek
Created January 9, 2014 14:08
Show Gist options
  • Save hynek/533346842083c6616d07 to your computer and use it in GitHub Desktop.
Save hynek/533346842083c6616d07 to your computer and use it in GitHub Desktop.
GLOB sdist-make: /Users/hynek/Work/structlog/setup.py
py33 recreate: /Users/hynek/Work/structlog/.tox/py33
py33 installdeps: six, freezegun, pretend, pytest-cov
py33 inst: /Users/hynek/Work/structlog/.tox/dist/structlog-0.5.0dev.zip
py33 runtests: commands[0] | py.test --cov-config=.coveragerc.py3
====================================================================================================================================================================== test session starts ======================================================================================================================================================================
platform darwin -- Python 3.3.3 -- pytest-2.5.1
plugins: cov
collected 116 items / 1 skipped
tests/test_base.py ...........
tests/test_config.py ............................
tests/test_frames.py ......
tests/test_generic.py ..
tests/test_loggers.py ..........
tests/test_processors.py ..........FFF.............
tests/test_stdlib.py ...............
tests/test_threadlocal.py ............s..
tests/test_utils.py ...
=========================================================================================================================================================================== FAILURES ============================================================================================================================================================================
__________________________________________________________________________________________________________________________________________________________________ TestTimeStamper.test_local ___________________________________________________________________________________________________________________________________________________________________
args = (<tests.test_processors.TestTimeStamper object at 0x10f851490>,), kwargs = {}, result = None
def wrapper(*args, **kwargs):
with self:
> result = func(*args, **kwargs)
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <freezegun.api._freeze_time object at 0x10f6fbf10>, args = (None, None, None)
def __exit__(self, *args):
> self.stop()
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:160:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <freezegun.api._freeze_time object at 0x10f6fbf10>
def stop(self):
datetime.datetime = real_datetime
datetime.date = real_date
time.time = real_time
> for mod_name, module in sys.modules.items():
if mod_name != 'datetime':
E RuntimeError: dictionary changed size during iteration
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:197: RuntimeError
_________________________________________________________________________________________________________________________________________________________________ TestTimeStamper.test_formats __________________________________________________________________________________________________________________________________________________________________
args = (<tests.test_processors.TestTimeStamper object at 0x10f8e7090>,), kwargs = {}, result = None
def wrapper(*args, **kwargs):
with self:
> result = func(*args, **kwargs)
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <freezegun.api._freeze_time object at 0x10ec72490>, args = (None, None, None)
def __exit__(self, *args):
> self.stop()
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:160:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <freezegun.api._freeze_time object at 0x10ec72490>
def stop(self):
datetime.datetime = real_datetime
datetime.date = real_date
time.time = real_time
> for mod_name, module in sys.modules.items():
if mod_name != 'datetime':
E RuntimeError: dictionary changed size during iteration
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:197: RuntimeError
______________________________________________________________________________________________________________________________________________________________ TestTimeStamper.test_adds_Z_to_iso _______________________________________________________________________________________________________________________________________________________________
args = (<tests.test_processors.TestTimeStamper object at 0x10f8d0c90>,), kwargs = {}, result = None
def wrapper(*args, **kwargs):
with self:
> result = func(*args, **kwargs)
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <freezegun.api._freeze_time object at 0x10f6fba50>, args = (None, None, None)
def __exit__(self, *args):
> self.stop()
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:160:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <freezegun.api._freeze_time object at 0x10f6fba50>
def stop(self):
datetime.datetime = real_datetime
datetime.date = real_date
time.time = real_time
> for mod_name, module in sys.modules.items():
if mod_name != 'datetime':
E RuntimeError: dictionary changed size during iteration
.tox/py33/lib/python3.3/site-packages/freezegun/api.py:197: RuntimeError
-------------------------------------------------------------------------------------------------------------------------------------------------------- coverage: platform darwin, python 3.3.3-final-0 --------------------------------------------------------------------------------------------------------------------------------------------------------
Name Stmts Miss Cover
-------------------------------------------
structlog/__init__ 12 0 100%
structlog/_base 47 0 100%
structlog/_config 85 0 100%
structlog/_exc 2 0 100%
structlog/_frames 29 0 100%
structlog/_generic 9 0 100%
structlog/_loggers 31 1 97%
structlog/_utils 11 0 100%
structlog/processors 107 0 100%
structlog/stdlib 45 1 98%
structlog/threadlocal 55 0 100%
-------------------------------------------
TOTAL 433 2 99%
======================================================================================================================================================== 3 failed, 112 passed, 2 skipped in 0.69 seconds ========================================================================================================================================================
ERROR: InvocationError: '/Users/hynek/Work/structlog/.tox/py33/bin/py.test --cov-config=.coveragerc.py3'
____________________________________________________________________________________________________________________________________________________________________________ summary ____________________________________________________________________________________________________________________________________________________________________________
ERROR: py33: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment