Commit 7b052e86 authored by Robert Bradshaw's avatar Robert Bradshaw

no need for print in exectest

parent b13d9a8e
...@@ -10,32 +10,32 @@ __doc__ = u""" ...@@ -10,32 +10,32 @@ __doc__ = u"""
>>> d = {} >>> d = {}
>>> test_dict_scope2(d) >>> test_dict_scope2(d)
>>> print (d['b']) >>> d['b']
2 2
>>> d1 = {} >>> d1 = {}
>>> test_dict_scope3(d1, d1) >>> test_dict_scope3(d1, d1)
>>> print (d1['b']) >>> d1['b']
2 2
>>> d1, d2 = {}, {} >>> d1, d2 = {}, {}
>>> test_dict_scope3(d1, d2) >>> test_dict_scope3(d1, d2)
>>> print ((d1.get('b'), d2.get('b'))) >>> (d1.get('b'), d2.get('b'))
(None, 2) (None, 2)
>>> d1, d2 = {}, {} >>> d1, d2 = {}, {}
>>> test_dict_scope3(d1, d2) >>> test_dict_scope3(d1, d2)
>>> print ((d1.get('b'), d2.get('b'))) >>> (d1.get('b'), d2.get('b'))
(None, 2) (None, 2)
>>> d1, d2 = dict(a=11), dict(c=5) >>> d1, d2 = dict(a=11), dict(c=5)
>>> test_dict_scope_ref(d1, d2) >>> test_dict_scope_ref(d1, d2)
>>> print ((d1.get('b'), d2.get('b'))) >>> (d1.get('b'), d2.get('b'))
(None, 16) (None, 16)
>>> d = dict(a=11, c=5) >>> d = dict(a=11, c=5)
>>> test_dict_scope_ref(d, d) >>> test_dict_scope_ref(d, d)
>>> print (d['b']) >>> d['b']
16 16
>>> d = dict(seq = [1,2,3,4]) >>> d = dict(seq = [1,2,3,4])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment