Skip to content

Commit 6e2a0f4

Browse files
committed
[test] fix th2 range in test
1 parent 88529dd commit 6e2a0f4

File tree

1 file changed

+2
-2
lines changed
  • bindings/pyroot/pythonizations/test

1 file changed

+2
-2
lines changed

bindings/pyroot/pythonizations/test/th2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ class TH2UsingDecls(unittest.TestCase):
1010

1111
# Tests
1212
def test_GetBinError(self):
13-
h = ROOT.TH2F("h", "h", 1, 1, 0, 1, 0, 1)
13+
h = ROOT.TH2F("h", "h", 1, 0, 1, 1, 0, 1)
1414
for _ in range(4):
15-
h.Fill(1, 1, 1)
15+
h.Fill(0.5, 0.5, 1)
1616
self.assertEqual(h.GetBinErrorUp(1, 1), 2)
1717
self.assertEqual(h.GetBinErrorLow(1, 1), 2)
1818

0 commit comments

Comments
 (0)