Skip to content

Commit 6e9933b

Browse files
committed
Correct optionflags default value
1 parent bd5619e commit 6e9933b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/doctesthelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
xmlrunner = None
3232

3333

34-
def run_doctests(file_name, globs={}, optionflags=None):
34+
def run_doctests(file_name, globs={}, optionflags=0):
3535
t = doctest.DocFileSuite(file_name, module_relative=False,
3636
globs=globs, optionflags=optionflags)
3737
if xmlrunner:

0 commit comments

Comments
 (0)