diff --git a/tests/test_mint.py b/tests/test_mint.py index 906bfa6..e045c27 100644 --- a/tests/test_mint.py +++ b/tests/test_mint.py @@ -41,7 +41,7 @@ def create_metadata(filename: str, mint_total: int, has_targets: bool) -> str: if has_targets: sample.append(encode_puzzle_hash(bytes32(token_bytes(32)), "xch")) metadata.append(sample) - with open(filename, "w") as f: + with open(filename, "w", newline='') as f: writer = csv.writer(f) writer.writerows([header] + metadata) return filename