code: def _parse_plan(self, match):
          
          expected_tests = int(match.group("expected"))
          directive = Directive(match.group("directive"))
  
          # Only SKIP directives are allowed in the plan.
          if directive.text and not directive.skip:
              return Unknown()
  
          return Plan(expected_tests, directive)
docs: Parse a matching plan line.