Skip to content

Commit 8375188

Browse files
committed
[df] Ruff format and lint
1 parent ddf31bf commit 8375188

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

roottest/python/distrdf/backends/check_explicit_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import pytest
21
import textwrap
32
import warnings
43

5-
import ROOT
6-
74
import DistRDF
5+
import pytest
6+
import ROOT
87

98

109
class TestExplicitAPI:
@@ -49,8 +48,7 @@ def test_rungraphs_3histos(self, payload):
4948
RDataFrame = ROOT.RDF.Distributed.Spark.RDataFrame
5049

5150
histoproxies = [
52-
RDataFrame(treename, filename, npartitions=2,
53-
executor=connection).Histo1D((col, col, 1, 40, 45), col)
51+
RDataFrame(treename, filename, npartitions=2, executor=connection).Histo1D((col, col, 1, 40, 45), col)
5452
for col in ["b1", "b2", "b3"]
5553
]
5654

@@ -89,6 +87,7 @@ def test_redefine_one_column(self, payload):
8987
assert sum_before.GetValue() == 10.0
9088
assert sum_after.GetValue() == 20.0
9189

90+
9291
class TestDeprecation:
9392
"""Test the deprecation message regarding the 'Experimental' module"""
9493

@@ -125,5 +124,6 @@ def test_warning_message(self, payload):
125124

126125
assert df.Count().GetValue() == 10
127126

127+
128128
if __name__ == "__main__":
129129
pytest.main(args=[__file__])

0 commit comments

Comments
 (0)