Created originally on Bitbucket by msabramo (Marc Abramowitz)
Was already merged in Bitbucket before import, marked as merged by the import user
raisesto ensure that OSError is raised
- Don't skip if
sys.platform != 'win32'
- Use "/path/to/file" instead of "blyf" for filename to make it clearer that it's a filename