| 365 | |
| 366 | @unittest.skipUnless(system().startswith("Win"), "Skip CSV test if not on Windows") |
| 367 | def test_to_csv_win(self): |
| 368 | tmp_path = "functional/test/data/tmp/output.txt" |
| 369 | elements = [[1, 2, 3], [4, 5, 6], ["a", "b", "c"]] |
| 370 | expect = [["1", "2", "3"], [], ["4", "5", "6"], [], ["a", "b", "c"], []] |
| 371 | sequence = self.seq(elements) |
| 372 | sequence.to_csv(tmp_path) |
| 373 | result = self.seq.csv(tmp_path).to_list() |
| 374 | self.assertNotEqual(expect, result) |
| 375 | |
| 376 | def test_to_csv_compressed(self): |
| 377 | tmp_path = "functional/test/data/tmp/output.txt" |