Skip to content

Commit 7488f5e

Browse files
committed
Mark test_can_apply_ruff as xfail properly
This was a mistake in porting code to this repo.
1 parent 747cd26 commit 7488f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyterlab_code_formatter/tests/test_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ async def test_can_rustfmt(request_format): # type: ignore[no-untyped-def]
588588
assert json_result["code"][0]["code"] == expected
589589

590590

591+
@pytest.mark.xfail(reason="Rust toolchain isn't respected in test for some reason atm.")
591592
async def test_can_apply_ruff(request_format): # type: ignore[no-untyped-def]
592593
"""Check that it can apply black with simple config."""
593594
response: HTTPResponse = await request_format(
@@ -600,5 +601,4 @@ async def test_can_apply_ruff(request_format): # type: ignore[no-untyped-def]
600601
expected_code=200,
601602
expected_schema=EXPECTED_FROMAT_SCHEMA,
602603
)
603-
import pdb; pdb.set_trace()
604604
assert json_result["code"][0]["code"] == "x = 22\ne = 1"

0 commit comments

Comments
 (0)