diff --git a/Lib/doctest.py b/Lib/doctest.py index 587753e5f66..5d371d29ccd 100644 --- a/Lib/doctest.py +++ b/Lib/doctest.py @@ -2001,7 +2001,7 @@ class Tester: import new m = new.module(name) m.__test__ = d - return self.rundoc(m, name, module) + return self.rundoc(m, name) def summarize(self, verbose=None): return self.testrunner.summarize(verbose)