aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/testing/plugin/ipdoctest.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-06-15 14:18:22 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-06-15 14:27:16 +0300
commitb52a8ab5cd66952839ada0843539b5564108a052 (patch)
tree659c3387aee1dbb2629b3afd68f8d306d37b45c2 /contrib/python/ipython/py3/IPython/testing/plugin/ipdoctest.py
parent7d673060f61f85b3e440fa45df26795d3653c8d2 (diff)
downloadydb-b52a8ab5cd66952839ada0843539b5564108a052.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python/ipython/py3/IPython/testing/plugin/ipdoctest.py')
-rw-r--r--contrib/python/ipython/py3/IPython/testing/plugin/ipdoctest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/ipython/py3/IPython/testing/plugin/ipdoctest.py b/contrib/python/ipython/py3/IPython/testing/plugin/ipdoctest.py
index e7edf9837f..0e6a7efa96 100644
--- a/contrib/python/ipython/py3/IPython/testing/plugin/ipdoctest.py
+++ b/contrib/python/ipython/py3/IPython/testing/plugin/ipdoctest.py
@@ -68,7 +68,7 @@ class IPDoctestOutputChecker(doctest.OutputChecker):
ret = doctest.OutputChecker.check_output(self, want, got,
optionflags)
if not ret and self.random_re.search(want):
- #print >> sys.stderr, 'RANDOM OK:',want # dbg
+ # print('RANDOM OK:',want, file=sys.stderr) # dbg
return True
return ret
@@ -141,7 +141,7 @@ class IPDocTestParser(doctest.DocTestParser):
used for error messages.
"""
- #print 'Parse string:\n',string # dbg
+ # print('Parse string:\n',string) # dbg
string = string.expandtabs()
# If all lines begin with the same indentation, then strip it.