diff --git a/.github/workflows/python_wheel_build.yml b/.github/workflows/python_wheel_build.yml index f5d62b4c9b484..71b9078e8d624 100644 --- a/.github/workflows/python_wheel_build.yml +++ b/.github/workflows/python_wheel_build.yml @@ -72,7 +72,7 @@ jobs: - name: Run tutorials run: | - pytest -vv -s -rF --show-capture=all test/wheels + pytest -vv --verbosity="4" -rF test/wheels create-and-upload-wheel-registry: if: github.event_name != 'pull_request' # The secrets are not available in PR diff --git a/tutorials/analysis/dataframe/df000_simple.C b/tutorials/analysis/dataframe/df000_simple.C index 2044525d492d5..4196de39ae74f 100644 --- a/tutorials/analysis/dataframe/df000_simple.C +++ b/tutorials/analysis/dataframe/df000_simple.C @@ -19,7 +19,7 @@ void df000_simple() ROOT::RDataFrame rdf(100); // Define a new column `x` that contains random numbers - auto rdf_x = rdf.Define("x", [](){ return gRandom->Rndm(); }); + auto rdf_x = rdf.Define("x", [](){ return; }); // Create a histogram from `x` auto h = rdf_x.Histo1D("x"); diff --git a/tutorials/analysis/dataframe/df000_simple.py b/tutorials/analysis/dataframe/df000_simple.py index 797e59fe3adc7..97208f7f8119c 100644 --- a/tutorials/analysis/dataframe/df000_simple.py +++ b/tutorials/analysis/dataframe/df000_simple.py @@ -19,7 +19,7 @@ rdf = ROOT.RDataFrame(100) # Define a new column `x` that contains random numbers -rdf_x = rdf.Define("x", "gRandom->Rndm()") +rdf_x = rdf.Define("x", 42) # Create a histogram from `x` and draw it h = rdf_x.Histo1D("x")