From: Olivier Guilyardi Date: Wed, 17 Feb 2010 23:24:27 +0000 (+0000) Subject: remove debugging leftover X-Git-Tag: 0.3.2~192 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0d66ca0d7c98ae9f1b08ca82aec1eca98815407a;p=timeside.git remove debugging leftover --- 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