From a840b0e815bb481603cfdca340f712f0887e7cfe Mon Sep 17 00:00:00 2001 From: Filipi Fuchter Date: Wed, 5 Mar 2025 14:11:52 -0300 Subject: [PATCH] Prevents pytest from collecting TestFrameProcessor. --- src/pipecat/utils/test_frame_processor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pipecat/utils/test_frame_processor.py b/src/pipecat/utils/test_frame_processor.py index fde476007..b35864497 100644 --- a/src/pipecat/utils/test_frame_processor.py +++ b/src/pipecat/utils/test_frame_processor.py @@ -8,6 +8,8 @@ class TestException(Exception): class TestFrameProcessor(FrameProcessor): + __test__ = False # Prevents pytest from collecting this class as a test + def __init__(self, test_frames): self.test_frames = test_frames self._list_counter = 0