summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)