Skip to content

Commit a36df30

Browse files
authored
Merge pull request #1341 from zm711/fix-ascii-test-windows
Fix `test_asciisignalio` to work on Windows
2 parents 25d0f1d + 6ed32d2 commit a36df30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/test/iotest/test_asciisignalio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_csv_expect_success(self):
5555
(-64.6, -64.2, -77.0, 0.7),
5656
(-64.3, -64.0, -99.9, 0.8)
5757
]
58-
with open(filename, 'w') as csvfile:
58+
with open(filename, 'w', newline='') as csvfile:
5959
writer = csv.writer(csvfile, delimiter=',',
6060
quotechar='|', quoting=csv.QUOTE_MINIMAL)
6161
for row in sample_data:

0 commit comments

Comments
 (0)