Skip to content

Commit 94fed69

Browse files
committed
[RF][Python] Remove invalid plotOn(.., PlotOpt) overload test
We should not test the pythonization for this protected overload, because it should not be called by the user and hence there is nothing to Pythonize.
1 parent 068b274 commit 94fed69

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

bindings/pyroot/pythonizations/test/roofit/roodatahist_ploton.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ def create_hist_and_frame(self):
3939
def test_overload1(self):
4040
dh, yframe = self.create_hist_and_frame()
4141

42-
# Overload in RooDataHist
43-
# RooPlot* RooDataHist::plotOn(RooPlot* frame, RooAbsData::PlotOpt o)
44-
res = dh.plotOn(yframe, ROOT.RooAbsData.PlotOpt())
45-
self.assertEqual(type(res), ROOT.RooPlot)
46-
47-
def test_overload2(self):
48-
dh, yframe = self.create_hist_and_frame()
49-
5042
# Overload taken from RooAbsData
5143
# RooPlot* RooAbsData::plotOn(RooPlot* frame, const RooCmdArg& arg1 = {},
5244
# const RooCmdArg& arg2 = {}, const RooCmdArg& arg3 = {},
@@ -56,7 +48,7 @@ def test_overload2(self):
5648
res = dh.plotOn(yframe)
5749
self.assertEqual(type(res), ROOT.RooPlot)
5850

59-
def test_overload3(self):
51+
def test_overload2(self):
6052
dh, yframe = self.create_hist_and_frame()
6153

6254
# Overload taken from RooAbsData

0 commit comments

Comments
 (0)