Skip to content

Commit c66468f

Browse files
committed
Remove unused setup method from formula engine tests
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 0b1c5ae commit c66468f

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/timeseries/test_formula_engine.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,6 @@ def test_1(self) -> None:
3939
class TestFormulaEngine:
4040
"""Tests for the FormulaEngine."""
4141

42-
def setup(self) -> None:
43-
"""Initialize the channels required for a test.
44-
45-
Because we can't create a __init__ or multiple instances of the Test class, we
46-
use the `setup` method as a constructor, and call it once before each test.
47-
"""
48-
# pylint: disable=attribute-defined-outside-init
49-
self.comp_2 = Broadcast[Sample]("")
50-
self.comp_2_sender = self.comp_2.new_sender()
51-
52-
self.comp_4 = Broadcast[Sample]("")
53-
self.comp_4_sender = self.comp_4.new_sender()
54-
55-
self.comp_5 = Broadcast[Sample]("")
56-
self.comp_5_sender = self.comp_5.new_sender()
57-
# pylint: enable=attribute-defined-outside-init
58-
5942
async def run_test(
6043
self,
6144
formula: str,

0 commit comments

Comments
 (0)