(tmp_dir, dvc)
| 81 | |
| 82 | |
| 83 | def test_add_unicode(tmp_dir, dvc): |
| 84 | with open("\xe1", "wb", encoding=None) as fd: |
| 85 | fd.write(b"something") |
| 86 | |
| 87 | (stage,) = dvc.add("\xe1") |
| 88 | |
| 89 | assert os.path.isfile(stage.path) |
| 90 | |
| 91 | |
| 92 | def test_add_unsupported_file(dvc): |