commit | 43e53f85b6f5e77a2f09cbda5833ffba5fbbdb2a | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Wed Nov 21 00:47:36 2007 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Wed Nov 21 00:47:36 2007 +0000 |
tree | 369e908698ea14e519aa00e646e912a7c22d391e | |
parent | 901071bde5eda2189cd396095bbb8934d4fa66b3 [diff] |
doctest assumed that a package's __loader__.get_data() method used universal newlines; it doesn't. To rectify this the string returned replaces all instances of os.linesep with '\n' to fake universal newline support. Backport candidate.