(data: str)
| 97 | settings_path: Path, monkeypatch: pytest.MonkeyPatch, encoding: str |
| 98 | ) -> None: |
| 99 | def _encode(data: str) -> bytes: |
| 100 | if encoding.startswith("utf-16"): |
| 101 | data = f"\ufeff{data}" |
| 102 | return data.encode(encoding) |
| 103 | |
| 104 | defaults = { |
| 105 | "foo": "\u3053\u3093\u306b\u3061\u306f", # japanese hiragana |
no outgoing calls
no test coverage detected