Commit 1906a4cf48fc40575e5c22d274f64f7c373f8d70
1 parent
50210616
Add delimiter to generated CSV to keep csv.Sniffer detecting the correct
delimiter in current python versions
Showing
1 changed file
with
1 additions
and
1 deletions
tests/msodde/test_csv.py
| @@ -49,7 +49,7 @@ class TestCSV(unittest.TestCase): | @@ -49,7 +49,7 @@ class TestCSV(unittest.TestCase): | ||
| 49 | 49 | ||
| 50 | sample = \ | 50 | sample = \ |
| 51 | prefix.format(quote=quote, delim=delim) + \ | 51 | prefix.format(quote=quote, delim=delim) + \ |
| 52 | - quote + sample_core + quote + \ | 52 | + quote + sample_core + quote + delim + \ |
| 53 | suffix.format(quote=quote, delim=delim) | 53 | suffix.format(quote=quote, delim=delim) |
| 54 | output = self.write_and_run(sample) | 54 | output = self.write_and_run(sample) |
| 55 | n_links = len(self.get_dde_from_output(output)) | 55 | n_links = len(self.get_dde_from_output(output)) |