Skip to content

Commit

Permalink
Do not calculate coverage for branch.
Browse files Browse the repository at this point in the history
This is platform-specific.
  • Loading branch information
jchristgit committed Jun 4, 2021
1 parent 46e9261 commit 4575bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydis_site/apps/content/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def setUp(self):
# also populate the platform-specific temp directory. It is populated in
# addition to `/tmp`, as some files are tested in `/tmp`.
_, tmpname, *_rest = tempfile.gettempdir().split('/')
if tmpname != 'tmp':
if tmpname != 'tmp': # pragma: no cover - platform-specific
self.populate_tempdir(tmpname)

self.os_tmpname = tmpname
Expand Down

0 comments on commit 4575bff

Please sign in to comment.