]> granicus.if.org Git - python/commit
Fiddle with new test cases -- verify that we get a sensible error
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Nov 2001 19:34:43 +0000 (19:34 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Nov 2001 19:34:43 +0000 (19:34 +0000)
commit734c7fb13165e9c299c2522f06da5b31a50af941
tree1cb4847ec3cdeb92303483aa11bca65398bb5840
parenta4e5c71962a093dadf425b7a7b9d83fe4063f883
Fiddle with new test cases -- verify that we get a sensible error
message for bad mode argument -- so that it doesn't fail on Windows.

It's hack.  We know that errno is set to 0 in this case on Windows, so
check for that specifically.
Lib/test/test_file.py