diff --git a/tutorials/CMakeLists.txt b/tutorials/CMakeLists.txt index f2682efc91e99b05bac91a8687d0f53c21e62262..7666d79e429ef64c8ec50f9dc810b1777cc1c7ea 100644 --- a/tutorials/CMakeLists.txt +++ b/tutorials/CMakeLists.txt @@ -476,6 +476,13 @@ if(ROOT_python_FOUND) tutorial-vecops-vo004_SortAndSelect-py tutorial-vecops-vo005_Combinations-py) + if(${PYTHON_VERSION_MAJOR} GREATER_EQUAL 3) + # These tests only fail in Py3 with PyROOT experimental + list(APPEND pyexp_fail tutorial-pyroot-first-py) + list(APPEND pyexp_fail tutorial-pyroot-surfaces-py) + list(APPEND pyexp_fail tutorial-pyroot-zdemo-py) + endif() + foreach(t ${pytutorials}) list(FIND returncode_1 ${t} index) if(index EQUAL -1)