Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Undo patches in teardown before attempting to delete files #3459
Deleting the directory can fail on windows, which leaves the patches in place for other tests which run afterwards. Unfortunately we can't use
This will probably still fail at first (unless the original issue is random), but it should see one test failure on Appveyor rather than 5.
Hmm, it seems that that fixed it. I was kind of hoping that it wouldn't, because I think that means that something isn't getting cleaned up following a request for a static file, so the file is left 'open'. Tornado devs have told us previously that they don't officially support Windows, so we may have to work around this. But for now this makes tests pass on Appveyor.