From 578347cc92feb7854b29cea864c25b5ee93680d3 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sun, 27 Sep 2015 19:15:13 -0400 Subject: [PATCH] Skip root_static_path test on non-posix OSes --- tornado/test/web_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tornado/test/web_test.py b/tornado/test/web_test.py index 829dfe483..558c9ae84 100644 --- a/tornado/test/web_test.py +++ b/tornado/test/web_test.py @@ -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 -- 2.47.2