File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 88 SubprocPool ,
99)
1010from torch ._inductor .test_case import TestCase
11+ from torch .testing ._internal .common_utils import skipIfWindows
1112from torch .testing ._internal .inductor_utils import HAS_CPU
1213
1314
1415class TestCompileWorker (TestCase ):
16+ @skipIfWindows (msg = "pass_fds not supported on Windows." )
1517 def test_basic_jobs (self ):
1618 pool = SubprocPool (2 )
1719 try :
@@ -22,6 +24,7 @@ def test_basic_jobs(self):
2224 finally :
2325 pool .shutdown ()
2426
27+ @skipIfWindows (msg = "pass_fds not supported on Windows." )
2528 def test_exception (self ):
2629 pool = SubprocPool (2 )
2730 try :
@@ -34,6 +37,7 @@ def test_exception(self):
3437 finally :
3538 pool .shutdown ()
3639
40+ @skipIfWindows (msg = "pass_fds not supported on Windows." )
3741 def test_crash (self ):
3842 pool = SubprocPool (2 )
3943 try :
You can’t perform that action at this time.
0 commit comments