tests/common-pattern.py
changeset 35240 b33d4cf38666
parent 35239 feecfefeba25
child 35241 a037b6647d8c
equal deleted inserted replaced
35239:feecfefeba25 35240:b33d4cf38666
    45         br'No such file or directory',
    45         br'No such file or directory',
    46 
    46 
    47         # FormatMessage(ERROR_FILE_NOT_FOUND)
    47         # FormatMessage(ERROR_FILE_NOT_FOUND)
    48         br'The system cannot find the file specified',
    48         br'The system cannot find the file specified',
    49     ),
    49     ),
       
    50     br'$ENOTDIR$': (
       
    51         # strerror()
       
    52         br'Not a directory',
       
    53 
       
    54         # FormatMessage(ERROR_PATH_NOT_FOUND)
       
    55         br'The system cannot find the path specified',
       
    56     ),
    50 }
    57 }
    51 
    58 
    52 for replace, msgs in _errors.items():
    59 for replace, msgs in _errors.items():
    53     substitutions.extend((m, replace) for m in msgs)
    60     substitutions.extend((m, replace) for m in msgs)