(data: dict[str, str])
| 241 | src, dst, local = map(tmp_path_factory.mktemp, ("src", "dst", "local")) |
| 242 | |
| 243 | def encode_data(data: dict[str, str]) -> bytes: |
| 244 | dump = yaml.dump(data, allow_unicode=True) |
| 245 | if data_file_encoding.startswith("utf-16"): |
| 246 | dump = "\ufeff" + dump |
| 247 | return dump.encode(data_file_encoding) |
| 248 | |
| 249 | build_file_tree( |
| 250 | { |
no outgoing calls
no test coverage detected