diff -r 94f3a73b6672 -r c7652f7440d9 tests/common-pattern.py --- a/tests/common-pattern.py Fri May 17 09:36:29 2019 -0400 +++ b/tests/common-pattern.py Fri May 17 09:36:29 2019 -0400 @@ -115,6 +115,11 @@ # Various platform error strings, keyed on a common replacement string _errors = { br'$ENOENT$': ( + # IOError in Python does not have the same error message + # than in Rust, and automatic conversion is not possible + # because of module member privacy. + br'No such file or directory \(os error 2\)', + # strerror() br'No such file or directory',