Skip to content

Commit e8104f4

Browse files
committed
🐛 Set correct raises regex
1 parent 17e80a6 commit e8104f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async-pydevd/tests/test_pydevd_patch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_async_evaluate_is_not_available_for_eventloop(mocker):
141141

142142
with raises(
143143
RuntimeError,
144-
match=r"^Can not evaluate async code with event loop asyncio.unix_events._UnixSelectorEventLoop. "
144+
match=r"^Can not evaluate async code with event loop .*\. "
145145
r"Only native asyncio event loop can be used for async code evaluating.$",
146146
):
147147
evaluate_expression(

0 commit comments

Comments
 (0)