writing a file from osx uses \n instead of \r\n line endings
Created originally on Bitbucket by peircej
This doesn't seem to be a problem for subsequently opening the file in excel (does the OpenXML standard specify what the line endings should be?) but it causes the unittests to fail (using nose at least):
============================================ FAIL: test_write_string_table (tests.test_write.TestWriteStrings)
Traceback (most recent call last): File "/Users/jwp/code/thirdParty/openpyxl/src/tests/test_write.py", line 81, in test_write_string_table fixture = content) File "/Users/jwp/code/thirdParty/openpyxl/src/tests/helper.py", line 48, in assertEqualsFileContent self.assertEqual(expected, fixture) AssertionError: '\r\nhelloworldnice' != '\nhelloworldnice'