Skip to content

Commit 21df4e0

Browse files
authored
Fix method name after change to Path
1 parent ee69a17 commit 21df4e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_packages/jupyter_lsp/jupyter_lsp/tests/test_stdio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, tmp_path):
2828
def spawn_writer(self, message: str, repeats: int = 1, interval=None):
2929
length = len(message) * repeats
3030
commands_file = self.tmp_path / "writer.py"
31-
commands_file.write(
31+
commands_file.write_text(
3232
WRITER_TEMPLATE.format(
3333
length=length, repeats=repeats, interval=interval or 0, message=message
3434
)

0 commit comments

Comments
 (0)