File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
32
32
echo " ${PLOTLY_CONFIG_DIR} "
33
33
34
34
# test that it imports when you don't have write permissions
35
- chmod -R 400 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
35
+ sudo chmod -R 400 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
36
36
error_exit " ${LINENO} : permissions test 400 on .plotly dir failed"
37
37
38
38
# test that setting write permissions will work for import (and tests)
39
- chmod -R 600 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
39
+ sudo chmod -R 600 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
40
40
error_exit " ${LINENO} : permissions test 600 on .plotly dir failed"
41
41
42
42
echo " running tests for Python ${version} as user '$( whoami) '"
You can’t perform that action at this time.
0 commit comments