From: Ben Darnell Date: Sun, 27 Sep 2015 23:15:13 +0000 (-0400) Subject: Skip root_static_path test on non-posix OSes X-Git-Tag: v4.3.0b1~29^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=578347cc92feb7854b29cea864c25b5ee93680d3;p=thirdparty%2Ftornado.git Skip root_static_path test on non-posix OSes --- 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