Skip to content

Commit

Permalink
Ignore a few bits that are annoying to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblayman committed Jan 25, 2025
1 parent a25c3af commit 973bb9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ source =
omit =
tap/tests/*
# This is tested with tox -e module in CI.
tap/__main__.py
src/tap/__main__.py
4 changes: 2 additions & 2 deletions src/tap/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def addSubTest(self, test, subtest, err):
else:
self.tracker.add_ok(self._cls_name(test), self._description(subtest))

def stopTestRun(self):
def stopTestRun(self): # pragma: no cover
"""Once the test run is complete, generate each of the TAP files."""
super().stopTestRun()
self.tracker.generate_tap_reports()
Expand Down Expand Up @@ -115,7 +115,7 @@ def set_stream(self, streaming):
_tracker.streaming = streaming
_tracker.stream = sys.stdout

def _makeResult(self):
def _makeResult(self): # pragma: no cover
result = self.resultclass(self.stream, self.descriptions, self.verbosity)
result.tracker = _tracker
return result
Expand Down

0 comments on commit 973bb9c

Please sign in to comment.