willingc

nbdime-test

Dec 2nd, 2016
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.95 KB | None | 0 0
  1. ***** Original test run in newly created conda env *****
  2.  
  3. (test-cli) carol at Carols-MacBook-Pro-2 in ~/code/jupyter/nbdime on minrk-cli-coverage*
  4. [08:45:10]$ pytest -v
  5. ================================== test session starts ===================================
  6.  
  7. platform darwin -- Python 3.5.2, pytest-3.0.4, py-1.4.31, pluggy-0.4.0 -- /usr/local/bin/python3
  8. cachedir: .cache
  9. rootdir: /Users/carol/code/jupyter/nbdime, inifile: pytest.ini
  10. plugins: cov-2.4.0
  11. collected 0 items / 1 errors
  12.  
  13. ========================================= ERRORS =========================================
  14.  
  15. ___________________________________ ERROR collecting ____________________________________
  16.  
  17. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:570: in gethookproxy
  18. return self._fs2hookproxy[fspath]
  19. E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests')
  20.  
  21. During handling of the above exception, another exception occurred:
  22. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:301: in _getconftestmodules
  23. return self._path2confmods[path]
  24. E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests')
  25.  
  26. During handling of the above exception, another exception occurred:
  27. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:332: in _importconftest
  28. return self._conftestpath2mod[conftestpath]
  29. E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests/conftest.py')
  30.  
  31. During handling of the above exception, another exception occurred:
  32. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:338: in _importconftest
  33. mod = conftestpath.pyimport()
  34. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
  35. __import__(modname)
  36. nbdime/__init__.py:12: in <module>
  37. from .merging import merge_notebooks, decide_merge, apply_decisions
  38. nbdime/merging/__init__.py:10: in <module>
  39. from .notebooks import merge_notebooks
  40. nbdime/merging/notebooks.py:14: in <module>
  41. from .autoresolve import autoresolve
  42. nbdime/merging/autoresolve.py:21: in <module>
  43. from ..prettyprint import merge_render
  44. nbdime/prettyprint.py:50: in <module>
  45. import colorama
  46. E ImportError: No module named 'colorama'
  47.  
  48. During handling of the above exception, another exception occurred:
  49. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:332: in visit
  50. for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
  51. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:367: in gen
  52. dirs = self.optsort([p for p in entries
  53. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:368: in <listcomp>
  54. if p.check(dir=1) and (rec is None or rec(p))])
  55. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:666: in _recurse
  56. ihook = self.gethookproxy(path.dirpath())
  57. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:575: in gethookproxy
  58. my_conftestmodules = pm._getconftestmodules(fspath)
  59. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:315: in _getconftestmodules
  60. mod = self._importconftest(conftestpath)
  61. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:340: in _importconftest
  62. raise ConftestImportFailure(conftestpath, sys.exc_info())
  63. E _pytest.config.ConftestImportFailure: ImportError("No module named 'colorama'",)
  64. E File "/Users/carol/code/jupyter/nbdime/nbdime/__init__.py", line 12, in <module>
  65. E from .merging import merge_notebooks, decide_merge, apply_decisions
  66. E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/__init__.py", line 10, in <module>
  67. E from .notebooks import merge_notebooks
  68. E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/notebooks.py", line 14, in <module>
  69. E from .autoresolve import autoresolve
  70. E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/autoresolve.py", line 21, in <module>
  71. E from ..prettyprint import merge_render
  72. E File "/Users/carol/code/jupyter/nbdime/nbdime/prettyprint.py", line 50, in <module>
  73. E import colorama
  74. !!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!
  75.  
  76. ================================ 1 error in 0.48 seconds =================================
  77.  
  78. ***** Running minrk's suggestion *****
  79.  
  80. (test-cli) carol at Carols-MacBook-Pro-2 in ~/code/jupyter/nbdime on minrk-cli-coverage*
  81. [08:45:41]$ pip install --upgrade -e .
  82. Obtaining file:///Users/carol/code/jupyter/nbdime
  83. Requirement already up-to-date: nbformat in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
  84. Requirement already up-to-date: six in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
  85. Requirement already up-to-date: colorama in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
  86. Requirement already up-to-date: tornado in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
  87. Requirement already up-to-date: requests in /Users/carol/anaconda3/envs/test-cli/lib/python3.5/site-packages (from nbdime==0.2.0.dev0)
  88. 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)
  89. 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)
  90. 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)
  91. 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)
  92. 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)
  93. Installing collected packages: nbdime
  94. Found existing installation: nbdime 0.2.0.dev0
  95. Uninstalling nbdime-0.2.0.dev0:
  96. Successfully uninstalled nbdime-0.2.0.dev0
  97. Running setup.py develop for nbdime
  98. Successfully installed nbdime
  99.  
  100. **** Test after upgrade ****
  101.  
  102. (test-cli) carol at Carols-MacBook-Pro-2 in ~/code/jupyter/nbdime on minrk-cli-coverage*
  103. [09:01:22]$ pytest
  104. ================================== test session starts ===================================
  105.  
  106. platform darwin -- Python 3.5.2, pytest-3.0.4, py-1.4.31, pluggy-0.4.0
  107. rootdir: /Users/carol/code/jupyter/nbdime, inifile: pytest.ini
  108. plugins: cov-2.4.0
  109. collected 0 items / 1 errors
  110.  
  111. ========================================= ERRORS =========================================
  112.  
  113. ___________________________________ ERROR collecting ____________________________________
  114.  
  115. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:570: in gethookproxy
  116. return self._fs2hookproxy[fspath]
  117. E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests')
  118.  
  119. During handling of the above exception, another exception occurred:
  120. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:301: in _getconftestmodules
  121. return self._path2confmods[path]
  122. E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests')
  123.  
  124. During handling of the above exception, another exception occurred:
  125. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:332: in _importconftest
  126. return self._conftestpath2mod[conftestpath]
  127. E KeyError: local('/Users/carol/code/jupyter/nbdime/nbdime/tests/conftest.py')
  128.  
  129. During handling of the above exception, another exception occurred:
  130. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:338: in _importconftest
  131. mod = conftestpath.pyimport()
  132. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
  133. __import__(modname)
  134. nbdime/__init__.py:12: in <module>
  135. from .merging import merge_notebooks, decide_merge, apply_decisions
  136. nbdime/merging/__init__.py:10: in <module>
  137. from .notebooks import merge_notebooks
  138. nbdime/merging/notebooks.py:14: in <module>
  139. from .autoresolve import autoresolve
  140. nbdime/merging/autoresolve.py:21: in <module>
  141. from ..prettyprint import merge_render
  142. nbdime/prettyprint.py:50: in <module>
  143. import colorama
  144. E ImportError: No module named 'colorama'
  145.  
  146. During handling of the above exception, another exception occurred:
  147. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:332: in visit
  148. for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
  149. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:367: in gen
  150. dirs = self.optsort([p for p in entries
  151. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/py/_path/common.py:368: in <listcomp>
  152. if p.check(dir=1) and (rec is None or rec(p))])
  153. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:666: in _recurse
  154. ihook = self.gethookproxy(path.dirpath())
  155. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/main.py:575: in gethookproxy
  156. my_conftestmodules = pm._getconftestmodules(fspath)
  157. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:315: in _getconftestmodules
  158. mod = self._importconftest(conftestpath)
  159. /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/_pytest/config.py:340: in _importconftest
  160. raise ConftestImportFailure(conftestpath, sys.exc_info())
  161. E _pytest.config.ConftestImportFailure: ImportError("No module named 'colorama'",)
  162. E File "/Users/carol/code/jupyter/nbdime/nbdime/__init__.py", line 12, in <module>
  163. E from .merging import merge_notebooks, decide_merge, apply_decisions
  164. E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/__init__.py", line 10, in <module>
  165. E from .notebooks import merge_notebooks
  166. E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/notebooks.py", line 14, in <module>
  167. E from .autoresolve import autoresolve
  168. E File "/Users/carol/code/jupyter/nbdime/nbdime/merging/autoresolve.py", line 21, in <module>
  169. E from ..prettyprint import merge_render
  170. E File "/Users/carol/code/jupyter/nbdime/nbdime/prettyprint.py", line 50, in <module>
  171. E import colorama
  172. !!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!
  173.  
  174. ================================ 1 error in 0.54 seconds =================================
  175.  
  176. (test-cli) carol at Carols-MacBook-Pro-2 in ~/code/jupyter/nbdime on minrk-cli-coverage*
  177. [09:01:44]$
Advertisement
Add Comment
Please, Sign In to add comment