Do not XFAIL test_segfault in fbcode (#136661)

https://github.com/pytorch/pytorch/pull/136252 silence the failure on OSS, but the test actually passed on fbcode [T202241133](https://www.internalfb.com/intern/tasks/?t=202241133)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/136661
Approved by: https://github.com/malfet
This commit is contained in:
Huy Do
2024-09-25 22:26:24 +00:00
committed by PyTorch MergeBot
parent 8d65d9f11b
commit b7a5c7d331

View File

@ -1508,7 +1508,7 @@ def xfailIfTorchDynamo(func):
def xfailIfLinux(func):
return unittest.expectedFailure(func) if IS_LINUX and not TEST_WITH_ROCM else func
return unittest.expectedFailure(func) if IS_LINUX and not TEST_WITH_ROCM and not IS_FBCODE else func
def skipIfTorchDynamo(msg="test doesn't currently work with dynamo"):