• R. David Murray's avatar
    Fix TestBytesGeneratorIdempotent tests and a couple bugs they revealed. · 719a449b
    R. David Murray authored
    The tests that were failing on (some) windows machines, where the
    msg_XX.txt files used native \r\n lineseps are now also run on machines
    that use \n natively, and conversely the \n tests are run on Windows.
    The failing tests revealed one place where linesep needed to be added
    to a flatten call in generator.  There was also another that the tests
    didn't catch, so I added a test for that case as well.
    719a449b
generator.py 17.8 KB