summaryrefslogtreecommitdiffstats
path: root/Lib/test/sample_doctest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/sample_doctest.py')
-rw-r--r--Lib/test/sample_doctest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/sample_doctest.py b/Lib/test/sample_doctest.py
index e5adee0..89eb5cb 100644
--- a/Lib/test/sample_doctest.py
+++ b/Lib/test/sample_doctest.py
@@ -40,9 +40,9 @@ def test_silly_setup():
def w_blank():
"""
>>> if 1:
- ... print 'a'
- ... print
- ... print 'b'
+ ... print('a')
+ ... print()
+ ... print('b')
a
<BLANKLINE>
b