Skip to content

Commit

Permalink
Merge pull request #1341 from zm711/fix-ascii-test-windows
Browse files Browse the repository at this point in the history
Fix `test_asciisignalio` to work on Windows
  • Loading branch information
apdavison authored Oct 23, 2023
2 parents 25d0f1d + 6ed32d2 commit a36df30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/test/iotest/test_asciisignalio.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_csv_expect_success(self):
(-64.6, -64.2, -77.0, 0.7),
(-64.3, -64.0, -99.9, 0.8)
]
with open(filename, 'w') as csvfile:
with open(filename, 'w', newline='') as csvfile:
writer = csv.writer(csvfile, delimiter=',',
quotechar='|', quoting=csv.QUOTE_MINIMAL)
for row in sample_data:
Expand Down

0 comments on commit a36df30

Please sign in to comment.