From 89574ca320b585f5c1841420d79ca2d32e422520 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 9 Mar 2010 10:50:19 +0100 Subject: [PATCH] renamed test functions to make the output more readable --- tests/run/print.pyx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/run/print.pyx b/tests/run/print.pyx index f1b570a1..2b63cbce 100644 --- a/tests/run/print.pyx +++ b/tests/run/print.pyx @@ -1,6 +1,6 @@ -def f(a, b): +def print_to_stdout(a, b): """ - >>> f(1, 'test') + >>> print_to_stdout(1, 'test') 1 1 test @@ -21,10 +21,10 @@ try: except ImportError: from io import StringIO -def s(stream, a, b): +def print_to_stringio(stream, a, b): """ >>> stream = StringIO() - >>> s(stream, 1, 'test') + >>> print_to_stringio(stream, 1, 'test') >>> print(stream.getvalue()) 1 -- 2.26.2