Skip to content

Commit c7b79ba

Browse files
cdwilsonclaude
andcommitted
fixup! fix: Don't render environment paths in source block labels
Assisted-by: Claude:claude-fable-5 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5400e1c commit c7b79ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ def _write_site_packages_package(tmp_path: Path, *, single_module: bool) -> None
370370
site_packages = tmp_path / "site-packages"
371371
site_packages.mkdir(parents=True)
372372
if single_module:
373-
(site_packages / "pkg.py").write_text(dedent(_MODEL_CLASS))
373+
(site_packages / "pkg.py").write_text(dedent(_MODEL_CLASS), encoding="utf-8")
374374
else:
375375
pkg = site_packages / "pkg"
376376
pkg.mkdir()
377-
(pkg / "__init__.py").write_text(dedent(_MODEL_CLASS))
377+
(pkg / "__init__.py").write_text(dedent(_MODEL_CLASS), encoding="utf-8")
378378

379379

380380
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)