Skip to content

Commit 4e927b8

Browse files
committed
revert special handling of hist tutorials with retcode 255
1 parent 9aa6f16 commit 4e927b8

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/wheels/test_tutorials.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,6 @@
2525
"hist002_RHist_weighted.C", # required RHist, not supported in ROOT wheels
2626
}
2727

28-
IGNORE_RETURN_255 = { # macros that return pointers (e.g. TCanvas*)
29-
"hist004_TH1_labels.C",
30-
"hist006_TH1_bar_charts.C",
31-
"hist014_TH1_cumulative.C",
32-
"hist036_TH2_labels.C",
33-
"hist037_TH2Poly_boxes.C",
34-
"hist060_TH1_stats.C",
35-
"hist102_TH2_contour_list.C",
36-
}
37-
38-
3928
# ----------------------
4029
# Python tutorials tests
4130
# ----------------------
@@ -114,10 +103,6 @@ def test_cpp_tutorial(tutorial):
114103
)
115104
print("Test stderr:", result.stderr)
116105

117-
if result.returncode == 255 and tutorial.name in IGNORE_RETURN_255:
118-
# tutorials that return 255 when returning a pointer (e.g. TCanvas*)
119-
return
120-
121106
except subprocess.TimeoutExpired:
122107
pytest.skip(f"Tutorial {tutorial} timed out")
123108

0 commit comments

Comments
 (0)