File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
plotly/tests/test_core/test_jupyter Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ dependencies:
29
29
# install jupyter test JS requirements
30
30
- cd ${PLOTLY_JUPYTER_TEST_DIR} && npm i
31
31
32
-
33
32
cache_directories :
34
33
35
34
- " ~/.pyenv/versions" # attempt to just cache installed pyenv things
49
48
- sudo chmod -R 777 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
50
49
51
50
# test core things in the general 2.7 version that circle has
52
- - export PYENV_VERSION=python2
53
- - nosetests -x plotly/tests/test_core --with-coverage --cover-package=plotly
51
+ - export PYENV_VERSION=python2 && nosetests -x plotly/tests/test_core --with-coverage --cover-package=plotly
54
52
- mkdir "${CIRCLE_ARTIFACTS}/2.7" || true
55
53
- coverage html -d "${CIRCLE_ARTIFACTS}/2.7" --title=2.7
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
31
31
echo " ${SIG} Running: python -c 'import sys; print(sys.version)'. We've got:"
32
32
python -c ' import sys; print(sys.version)'
33
33
34
-
35
34
echo " ${SIG} Install plotly (ignoring possibly cached versions)."
36
35
pip install -I ${PLOTLY_PACKAGE_ROOT} > /dev/null ||
37
36
error_exit " ${SIG} ${LINENO} : can't install plotly package from project root"
Original file line number Diff line number Diff line change @@ -29,8 +29,10 @@ def setUp(self):
29
29
30
30
if 'PYENV_VERSION' in environ :
31
31
kernel_name = environ ['PYENV_VERSION' ]
32
+ print (kernel_name )
32
33
self .ep = ExecutePreprocessor (timeout = 600 , kernel_name = kernel_name )
33
34
else :
35
+ print ('no kernel found in environment' )
34
36
self .ep = ExecutePreprocessor (timeout = 600 )
35
37
36
38
self .html_exporter = HTMLExporter ()
You can’t perform that action at this time.
0 commit comments