Skip to content

Instantly share code, notes, and snippets.

@jcrobak
Created November 13, 2013 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcrobak/7454409 to your computer and use it in GitHub Desktop.
Save jcrobak/7454409 to your computer and use it in GitHub Desktop.
[fix-import-collision] ~/code/kafka-python $ tox
GLOB sdist-make: /Users/joe/code/kafka-python/setup.py
py26 inst-nodeps: /Users/joe/code/kafka-python/.tox/dist/kafka-python-0.8.1-1.zip
py26 runtests: commands[0] | py.test --basetemp=/Users/joe/code/kafka-python/.tox/py26/tmp
=================================================================================== test session starts ====================================================================================
platform darwin -- Python 2.6.8 -- pytest-2.4.1
collected 0 items / 2 errors
========================================================================================== ERRORS ==========================================================================================
________________________________________________________________________ ERROR collecting test/test_integration.py _________________________________________________________________________
test/test_integration.py:14: in <module>
> class TestKafkaClient(unittest.TestCase):
test/test_integration.py:245: in TestKafkaClient
> @unittest.skip('commmit offset not supported in this version')
E AttributeError: 'module' object has no attribute 'skip'
____________________________________________________________________________ ERROR collecting test/test_unit.py ____________________________________________________________________________
test/test_unit.py:22: in <module>
> class TestPackage(unittest.TestCase):
test/test_unit.py:23: in TestPackage
> @unittest.expectedFailure
E AttributeError: 'module' object has no attribute 'expectedFailure'
================================================================================= 2 error in 0.15 seconds ==================================================================================
ERROR: InvocationError: '/Users/joe/code/kafka-python/.tox/py26/bin/py.test --basetemp=/Users/joe/code/kafka-python/.tox/py26/tmp'
py27 inst-nodeps: /Users/joe/code/kafka-python/.tox/dist/kafka-python-0.8.1-1.zip
py27 runtests: commands[0] | py.test --basetemp=/Users/joe/code/kafka-python/.tox/py27/tmp
=================================================================================== test session starts ====================================================================================
platform darwin -- Python 2.7.5 -- pytest-2.4.1
collected 45 items
test/test_integration.py ......s.....................
test/test_unit.py xxx..xxxxxxxxxxxx
==================================================================== 29 passed, 1 skipped, 15 xfailed in 162.75 seconds ====================================================================
_________________________________________________________________________________________ summary __________________________________________________________________________________________
ERROR: py26: commands failed
py27: commands succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment