Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ***** Original test run in newly created conda env *****
- (test-cli) carol at Carols-MacBook-Pro-2 in ~/code/jupyter/nbdime on minrk-cli-coverage*
- [08:45:10]$ pytest -v
- ================================== test session starts ===================================
- platform darwin -- Python 3.5.2, pytest-3.0.4, py-1.4.31, pluggy-0.4.0 -- /usr/local/bin/python3
- cachedir: .cache
- rootdir: /Users/carol/code/jupyter/nbdime, inifile: pytest.ini
- plugins: cov-2.4.0
- collected 0 items / 1 errors
- ========================================= ERRORS =========================================
- ___________________________________ ERROR collecting ____________________________________
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:570: in gethookproxy
- return self._fs2hookproxy[fspath]
- E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests')
- During handling of the above exception, another exception occurred:
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:301: in _getconftestmodules
- return self._path2confmods[path]
- E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests')
- During handling of the above exception, another exception occurred:
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:332: in _importconftest
- return self._conftestpath2mod[conftestpath]
- E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests/conftest.py')
- During handling of the above exception, another exception occurred:
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:338: in _importconftest
- mod = conftestpath.pyimport()
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
- __import__(modname)
- nbdime/__init__.py:12: in <module>
- from .merging import merge_notebooks, decide_merge, apply_decisions
- nbdime/merging/__init__.py:10: in <module>
- from .notebooks import merge_notebooks
- nbdime/merging/notebooks.py:14: in <module>
- from .autoresolve import autoresolve
- nbdime/merging/autoresolve.py:21: in <module>
- from ..prettyprint import merge_render
- nbdime/prettyprint.py:50: in <module>
- import colorama
- E ImportError: No module named 'colorama'
- During handling of the above exception, another exception occurred:
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:332: in visit
- for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:367: in gen
- dirs = self.optsort([p for p in entries
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:368: in <listcomp>
- if p.check(dir=1) and (rec is None or rec(p))])
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:666: in _recurse
- ihook = self.gethookproxy(path.dirpath())
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:575: in gethookproxy
- my_conftestmodules = pm._getconftestmodules(fspath)
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:315: in _getconftestmodules
- mod = self._importconftest(conftestpath)
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:340: in _importconftest
- raise ConftestImportFailure(conftestpath, sys.exc_info())
- E _pytest.config.ConftestImportFailure: ImportError("No module named 'colorama'",)
- E File "/Users/carol/code/jupyter/nbdime/nbdime/__init__.py", line 12, in <module>
- E from .merging import merge_notebooks, decide_merge, apply_decisions
- E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/__init__.py", line 10, in <module>
- E from .notebooks import merge_notebooks
- E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/notebooks.py", line 14, in <module>
- E from .autoresolve import autoresolve
- E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/autoresolve.py", line 21, in <module>
- E from ..prettyprint import merge_render
- E File "/Users/carol/code/jupyter/nbdime/nbdime/prettyprint.py", line 50, in <module>
- E import colorama
- !!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!
- ================================ 1 error in 0.48 seconds =================================
- ***** Running minrk's suggestion *****
- (test-cli) carol at Carols-MacBook-Pro-2 in ~/code/jupyter/nbdime on minrk-cli-coverage*
- [08:45:41]$ pip install --upgrade -e .
- Obtaining file:///Users/carol/code/jupyter/nbdime
- Requirement already up-to-date: nbformat in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
- Requirement already up-to-date: six in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
- Requirement already up-to-date: colorama in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
- Requirement already up-to-date: tornado in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
- Requirement already up-to-date: requests in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
- Requirement already up-to-date: ipython-genutils in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbformat->nbdime==0.2.0.dev0)
- Requirement already up-to-date: jupyter-core in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbformat->nbdime==0.2.0.dev0)
- Requirement already up-to-date: traitlets>=4.1 in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbformat->nbdime==0.2.0.dev0)
- Requirement already up-to-date: jsonschema!=2.5.0,>=2.4 in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbformat->nbdime==0.2.0.dev0)
- Requirement already up-to-date: decorator in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from traitlets>=4.1->nbformat->nbdime==0.2.0.dev0)
- Installing collected packages: nbdime
- Found existing installation: nbdime 0.2.0.dev0
- Uninstalling nbdime-0.2.0.dev0:
- Successfully uninstalled nbdime-0.2.0.dev0
- Running setup.py develop for nbdime
- Successfully installed nbdime
- **** Test after upgrade ****
- (test-cli) carol at Carols-MacBook-Pro-2 in ~/code/jupyter/nbdime on minrk-cli-coverage*
- [09:01:22]$ pytest
- ================================== test session starts ===================================
- platform darwin -- Python 3.5.2, pytest-3.0.4, py-1.4.31, pluggy-0.4.0
- rootdir: /Users/carol/code/jupyter/nbdime, inifile: pytest.ini
- plugins: cov-2.4.0
- collected 0 items / 1 errors
- ========================================= ERRORS =========================================
- ___________________________________ ERROR collecting ____________________________________
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:570: in gethookproxy
- return self._fs2hookproxy[fspath]
- E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests')
- During handling of the above exception, another exception occurred:
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:301: in _getconftestmodules
- return self._path2confmods[path]
- E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests')
- During handling of the above exception, another exception occurred:
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:332: in _importconftest
- return self._conftestpath2mod[conftestpath]
- E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests/conftest.py')
- During handling of the above exception, another exception occurred:
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:338: in _importconftest
- mod = conftestpath.pyimport()
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
- __import__(modname)
- nbdime/__init__.py:12: in <module>
- from .merging import merge_notebooks, decide_merge, apply_decisions
- nbdime/merging/__init__.py:10: in <module>
- from .notebooks import merge_notebooks
- nbdime/merging/notebooks.py:14: in <module>
- from .autoresolve import autoresolve
- nbdime/merging/autoresolve.py:21: in <module>
- from ..prettyprint import merge_render
- nbdime/prettyprint.py:50: in <module>
- import colorama
- E ImportError: No module named 'colorama'
- During handling of the above exception, another exception occurred:
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:332: in visit
- for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:367: in gen
- dirs = self.optsort([p for p in entries
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:368: in <listcomp>
- if p.check(dir=1) and (rec is None or rec(p))])
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:666: in _recurse
- ihook = self.gethookproxy(path.dirpath())
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:575: in gethookproxy
- my_conftestmodules = pm._getconftestmodules(fspath)
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:315: in _getconftestmodules
- mod = self._importconftest(conftestpath)
- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:340: in _importconftest
- raise ConftestImportFailure(conftestpath, sys.exc_info())
- E _pytest.config.ConftestImportFailure: ImportError("No module named 'colorama'",)
- E File "/Users/carol/code/jupyter/nbdime/nbdime/__init__.py", line 12, in <module>
- E from .merging import merge_notebooks, decide_merge, apply_decisions
- E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/__init__.py", line 10, in <module>
- E from .notebooks import merge_notebooks
- E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/notebooks.py", line 14, in <module>
- E from .autoresolve import autoresolve
- E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/autoresolve.py", line 21, in <module>
- E from ..prettyprint import merge_render
- E File "/Users/carol/code/jupyter/nbdime/nbdime/prettyprint.py", line 50, in <module>
- E import colorama
- !!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!
- ================================ 1 error in 0.54 seconds =================================
- (test-cli) carol at Carols-MacBook-Pro-2 in ~/code/jupyter/nbdime on minrk-cli-coverage*
- [09:01:44]$
Advertisement
Add Comment
Please, Sign In to add comment