summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-06-29 03:11:20 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-06-29 03:11:20 (GMT)
commit275abbd5257d8ff4c8883e41ee4a271e621bacae (patch)
tree7305243571d91fb56cd3396a04a9d2208d026d0c /Lib
parentef7343c6cde7570ebba76afe3a36b6c747100db1 (diff)
downloadcpython-275abbd5257d8ff4c8883e41ee4a271e621bacae.zip
cpython-275abbd5257d8ff4c8883e41ee4a271e621bacae.tar.gz
cpython-275abbd5257d8ff4c8883e41ee4a271e621bacae.tar.bz2
Missed a spot where the new optional optionflags argument needed to get
passed on.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/doctest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index 8b379cd..8bda8d6 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -767,7 +767,7 @@ See doctest.testmod docs for the meaning of optionflags.
if self.verbose:
print "Running", name + ".__doc__"
f, t = run_docstring_examples(object, self.globs, self.verbose, name,
- self.compileflags)
+ self.compileflags, self.optionflags)
if self.verbose:
print f, "of", t, "examples failed in", name + ".__doc__"
self.__record_outcome(name, f, t)