Skip to content

Commit 5ad759c

Browse files
xuhancnpytorchmergebot
authored andcommitted
[inductor] calibration inductor windows uts (2/N) (#134358)
skip unsupported UTs of `test\inductor\test_compile_worker.py`. Pull Request resolved: #134358 Approved by: https://github.com/jansel
1 parent 5ae9c01 commit 5ad759c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/inductor/test_compile_worker.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
SubprocPool,
99
)
1010
from torch._inductor.test_case import TestCase
11+
from torch.testing._internal.common_utils import skipIfWindows
1112
from torch.testing._internal.inductor_utils import HAS_CPU
1213

1314

1415
class 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:

0 commit comments

Comments
 (0)