]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Skip root_static_path test on non-posix OSes 1527/head
authorBen Darnell <ben@bendarnell.com>
Sun, 27 Sep 2015 23:15:13 +0000 (19:15 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 27 Sep 2015 23:38:31 +0000 (19:38 -0400)
tornado/test/web_test.py

index 829dfe48341cf7f6c04f411bac46ae81b845e8d9..558c9ae84f665971532667a073b277043b6cc0a8 100644 (file)
@@ -1204,6 +1204,7 @@ class StaticFileTest(WebTestCase):
         # is probably a packaging error).
         self.assertEqual(response.code, 403)
 
+    @unittest.skipIf(os.name != 'posix', 'non-posix OS')
     def test_root_static_path(self):
         # Sometimes people set the StaticFileHandler's path to '/'
         # to disable Tornado's path validation (in conjunction with