Browse Source
The previously used filecmp.cmp opens the files to be compared in 'rb' mode, i.e., it will tell us that two files that differ only in the line-ending encoding (CRLF vs LF) are not equivalent. However, we'd like to get the export tests to succeed on Windows, regardless of the line endings. So, we provide our own file comparison method that opens the file in 'rU' mode (universal newline mode), which converts all the newline encodings to '\n' transparently. git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11880 bbc10eb1-c90d-0410-af57-cb519fbb1720master
1 changed files with 18 additions and 2 deletions
Loading…
Reference in new issue