Skip to content

Commit 4029af3

Browse files
authored
add test from issue
1 parent caab4af commit 4029af3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/test_processor.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,15 @@ def postprocess(self, accumulator):
2525

2626
acc = None
2727
super(test, proc).postprocess(acc)
28+
29+
def test_issue1408():
30+
31+
class P(processor.ProcessorABC):
32+
def process(self, events):
33+
return True
34+
35+
def postprocess(self, accumulator):
36+
pass
37+
fileset = {"dy": {"files": {"tests/samples/nano_dy.root": "Events"}}}
38+
run = processor.Runner(executor=processor.FuturesExecutor())
39+
print(run(fileset=fileset, processor_instance=P(), iteritems_options={"filter_name": lambda name: True}))

0 commit comments

Comments
 (0)