From: Robert Bradshaw Date: Fri, 10 Apr 2009 06:46:18 +0000 (-0700) Subject: no need for print in exectest X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b052e864c6f7348c70da4f0e26afe25df949c78;p=cython.git no need for print in exectest --- diff --git a/tests/run/exectest.pyx b/tests/run/exectest.pyx index cb9f2383..2e297756 100644 --- a/tests/run/exectest.pyx +++ b/tests/run/exectest.pyx @@ -10,32 +10,32 @@ __doc__ = u""" >>> d = {} >>> test_dict_scope2(d) ->>> print (d['b']) +>>> d['b'] 2 >>> d1 = {} >>> test_dict_scope3(d1, d1) ->>> print (d1['b']) +>>> d1['b'] 2 >>> d1, d2 = {}, {} >>> test_dict_scope3(d1, d2) ->>> print ((d1.get('b'), d2.get('b'))) +>>> (d1.get('b'), d2.get('b')) (None, 2) >>> d1, d2 = {}, {} >>> test_dict_scope3(d1, d2) ->>> print ((d1.get('b'), d2.get('b'))) +>>> (d1.get('b'), d2.get('b')) (None, 2) >>> d1, d2 = dict(a=11), dict(c=5) >>> test_dict_scope_ref(d1, d2) ->>> print ((d1.get('b'), d2.get('b'))) +>>> (d1.get('b'), d2.get('b')) (None, 16) >>> d = dict(a=11, c=5) >>> test_dict_scope_ref(d, d) ->>> print (d['b']) +>>> d['b'] 16 >>> d = dict(seq = [1,2,3,4])