Skip to content

Commit

Permalink
Add exemption for abspath in pydevd (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet authored Dec 21, 2024
1 parent 09b9ec3 commit 1e37180
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions blockbuster/blockbuster.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ def _get_time_wrapped_functions() -> dict[str, BlockBusterFunction]:
time,
"sleep",
can_block_functions=[
("pydev/pydevd.py", {"_do_wait_suspend"}),
("pydevd/pydevd.py", {"_do_wait_suspend"}),
("/pydevd.py", {"_do_wait_suspend"}),
],
)
}
Expand Down Expand Up @@ -219,6 +218,7 @@ def _get_os_wrapped_functions() -> dict[str, BlockBusterFunction]:
can_block_functions=[
("_pytest/assertion/rewrite.py", {"_should_rewrite"}),
("coverage/control.py", {"_should_trace"}),
("/pydevd.py", {"_do_wait_suspend"}),
],
)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "blockbuster"
version = "1.5.5"
version = "1.5.6"
description = "Utility to detect blocking calls in the async event loop"
readme = "README.md"
keywords = ["async", "block", "detect", "event loop", "asyncio"]
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1e37180

Please sign in to comment.