Skip to content

Commit bba5121

Browse files

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pdoc/test/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ class CliTest(unittest.TestCase):
111111
]
112112
PUBLIC_FILES = [f for f in ALL_FILES if '/_' not in f]
113113

114+
if os.name == 'nt':
115+
ALL_FILES = [i.replace('/', '\\') for i in ALL_FILES]
116+
PUBLIC_FILES = [i.replace('/', '\\') for i in PUBLIC_FILES]
117+
114118
def setUp(self):
115119
pdoc.reset()
116120

@@ -1102,6 +1106,7 @@ def test_latex_math(self):
11021106
self.assertEqual(html, expected)
11031107

11041108

1109+
@unittest.skipIf('win' in sys.platform, "signal.SIGALRM doesn't work on Windos")
11051110
class HttpTest(unittest.TestCase):
11061111
"""
11071112
Unit tests for the HTTP server functionality.

0 commit comments

Comments
 (0)