Skip to content

Commit

Permalink
Test pragma statement
Browse files Browse the repository at this point in the history
  • Loading branch information
roblutt committed Dec 13, 2023
1 parent 4c32b4c commit 865572a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ source = [
]

[tool.coverage.coverage_conditional_plugin.rules]
is-windows = "sys_platform == 'win32'"
is-posix = "sys_platform != 'win32'"

[tool.coverage.report]
show_missing = true
Expand Down
2 changes: 1 addition & 1 deletion src/openjd/adaptor_runtime/_background/frontend_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def _send_request(
params: dict | None = None,
json_body: dict | None = None,
) -> http_client.HTTPResponse | Dict:
if OSName.is_windows():
if OSName.is_windows(): # pragma: is-posix
return NamedPipeHelper.send_named_pipe_request(
self.connection_settings.socket,
self._timeout_s,
Expand Down

0 comments on commit 865572a

Please sign in to comment.