Skip to content

Instantly share code, notes, and snippets.

@Ch00k
Last active August 28, 2016 19:07
Show Gist options
  • Save Ch00k/d96111763a92df0d205232ec3c461415 to your computer and use it in GitHub Desktop.
Save Ch00k/d96111763a92df0d205232ec3c461415 to your computer and use it in GitHub Desktop.
tox wtf
[gingerbook][master *]~/projects/personal/gingerbook 0$ tox
GLOB sdist-make: /Users/ay/projects/personal/gingerbook/setup.py
py27 recreate: /Users/ay/projects/personal/gingerbook/.tox/py27
py27 installdeps: pytest, deepdiff
py27 inst: /Users/ay/projects/personal/gingerbook/.tox/dist/gingerbook-0.0.1.zip
py27 installed: deepdiff==2.5.1,gingerbook==0.0.1,py==1.4.31,pytest==3.0.1
py27 runtests: PYTHONHASHSEED='2612682897'
py27 runtests: commands[0] | py.test
Traceback (most recent call last):
File "/Users/ay/projects/personal/gingerbook/.tox/py27/lib/python2.7/site-packages/_pytest/config.py", line 338, in _importconftest
mod = conftestpath.pyimport()
File "/Users/ay/projects/personal/gingerbook/.tox/py27/lib/python2.7/site-packages/py/_path/local.py", line 650, in pyimport
__import__(modname)
File "/Users/ay/projects/personal/gingerbook/.tox/py27/lib/python2.7/site-packages/_pytest/assertion/rewrite.py", line 207, in load_module
py.builtin.exec_(co, mod.__dict__)
File "/Users/ay/projects/personal/gingerbook/.tox/py27/lib/python2.7/site-packages/py/_builtin.py", line 221, in exec_
exec2(obj, globals, locals)
File "<string>", line 7, in exec2
File "/Users/ay/projects/personal/gingerbook/tests/conftest.py", line 3, in <module>
from gingerbook import GingerBook
ImportError: No module named gingerbook
ERROR: could not load /Users/ay/projects/personal/gingerbook/tests/conftest.py
ERROR: InvocationError: '/Users/ay/projects/personal/gingerbook/.tox/py27/bin/py.test'
py35 recreate: /Users/ay/projects/personal/gingerbook/.tox/py35
py35 installdeps: pytest, deepdiff
py35 inst: /Users/ay/projects/personal/gingerbook/.tox/dist/gingerbook-0.0.1.zip
py35 installed: deepdiff==2.5.1,gingerbook==0.0.1,py==1.4.31,pytest==3.0.1
py35 runtests: PYTHONHASHSEED='2612682897'
py35 runtests: commands[0] | py.test
Traceback (most recent call last):
File "/Users/ay/projects/personal/gingerbook/.tox/py35/lib/python3.5/site-packages/_pytest/config.py", line 301, in _getconftestmodules
return self._path2confmods[path]
KeyError: local('/Users/ay/projects/personal/gingerbook/tests')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/ay/projects/personal/gingerbook/.tox/py35/lib/python3.5/site-packages/_pytest/config.py", line 332, in _importconftest
return self._conftestpath2mod[conftestpath]
KeyError: local('/Users/ay/projects/personal/gingerbook/tests/conftest.py')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/ay/projects/personal/gingerbook/.tox/py35/lib/python3.5/site-packages/_pytest/config.py", line 338, in _importconftest
mod = conftestpath.pyimport()
File "/Users/ay/projects/personal/gingerbook/.tox/py35/lib/python3.5/site-packages/py/_path/local.py", line 650, in pyimport
__import__(modname)
File "/Users/ay/projects/personal/gingerbook/.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py", line 207, in load_module
py.builtin.exec_(co, mod.__dict__)
File "/Users/ay/projects/personal/gingerbook/tests/conftest.py", line 3, in <module>
from gingerbook import GingerBook
ImportError: No module named 'gingerbook'
ERROR: could not load /Users/ay/projects/personal/gingerbook/tests/conftest.py
ERROR: InvocationError: '/Users/ay/projects/personal/gingerbook/.tox/py35/bin/py.test'
________________________________________________________________ summary _________________________________________________________________
ERROR: py27: commands failed
ERROR: py35: commands failed
[gingerbook][master *]~/projects/personal/gingerbook 0$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment