Write the string of the path to the cat file

This commit is contained in:
MKLeb 2023-08-31 11:04:01 -04:00 committed by Pedro Algarvio
parent bca1e4af01
commit 7003b5d168

View file

@ -10,7 +10,7 @@ pytestmark = [
@pytest.fixture
def cat_file(tmp_path):
fp = tmp_path / "cat-file"
fp.write_text(fp)
fp.write_text(str(fp))
return fp