1. Jason Pellerin
  2. nose2

Commits

jpellerin  committed ca1a127

Replaced comment with return

  • Participants
  • Parent commits 9819e3b
  • Branches default

Comments (0)

Files changed (1)

File nose2/plugins/doctests.py

View file
         if ext in self.extensions:
             suite = doctest.DocFileTest(path, module_relative=False)
             event.extraTests.append(suite)
-            # XXX: Return from here, since we know now this isn't a module from
-            # which to load doctests?
+            return
         elif not loader.VALID_MODULE_NAME.match(os.path.basename(path)):
             return