From 024275b6fa9f738a892af5da4537f2fef8754e96 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Tue, 30 Jan 2018 00:17:44 +0000 Subject: [PATCH] Recode.pyx: add verbose argument to recode method To ease debugging. Defaults to False. --- tests/Recode.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Recode.pyx b/tests/Recode.pyx index f929c34..342ddf7 100644 --- a/tests/Recode.pyx +++ b/tests/Recode.pyx @@ -592,8 +592,9 @@ cdef class Outer: raise error # Lazy, all in one call. - def recode(self, char *command, char *input): + def recode(self, char *command, char *input, verbose=False): request = Request(self) + request.set_verbose(verbose) request.scan(command) return request.string(input) -- 2.50.1