From: Stefan Behnel Date: Tue, 9 Mar 2010 09:50:19 +0000 (+0100) Subject: renamed test functions to make the output more readable X-Git-Tag: 0.13.beta0~319^2~7^2~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=89574ca320b585f5c1841420d79ca2d32e422520;p=cython.git renamed test functions to make the output more readable --- 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