From 0d66ca0d7c98ae9f1b08ca82aec1eca98815407a Mon Sep 17 00:00:00 2001 From: Olivier Guilyardi Date: Wed, 17 Feb 2010 23:24:27 +0000 Subject: [PATCH] remove debugging leftover --- tests/api/examples.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/api/examples.py b/tests/api/examples.py index 5d8fe7c..3a78414 100644 --- a/tests/api/examples.py +++ b/tests/api/examples.py @@ -322,14 +322,10 @@ class FixedInputProcessor(Processor): @interfacedoc def process(self, frames, eod=False): - try: - for buffer, end in self.adapter.process(frames, eod): - # Test that the adapter is actually doing the job: - if len(buffer) != self.BUFFER_SIZE: - raise Exception("Bad buffer size from adapter") - except ValueError: - print len(frames) - raise + for buffer, end in self.adapter.process(frames, eod): + # Test that the adapter is actually doing the job: + if len(buffer) != self.BUFFER_SIZE: + raise Exception("Bad buffer size from adapter") return frames, eod -- 2.39.5