Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 3, 2023
1 parent 9262f3d commit 5f9eca1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/test_0999-inverted-axes-variances-hist-888.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest
import uproot
import numpy
import hist
import hist
import ROOT


Expand All @@ -20,10 +20,10 @@ def test_axes_of_variances_to_hist_2D_weighted():
hroot2.Fill(a[i], b[i], c[i])

# variances with flow:
# 0.0 0.0 0.0 0.0 0.0
# 0.0 2329.0 98.0 289.0 0.0
# 0.0 0.0 0.0 50.0 0.0
# 0.0 0.0 0.0 0.0 0.0
# 0.0 0.0 0.0 0.0 0.0
# 0.0 2329.0 98.0 289.0 0.0
# 0.0 0.0 0.0 50.0 0.0
# 0.0 0.0 0.0 0.0 0.0

huproot2 = uproot.from_pyroot(hroot2)
vuproot = huproot2.variances()
Expand All @@ -32,4 +32,3 @@ def test_axes_of_variances_to_hist_2D_weighted():
for i in range(2):
for j in range(3):
assert vuproot[i][j] == vhist[i][j]

0 comments on commit 5f9eca1

Please sign in to comment.