[BE] Enable test_public_bindings on MacOS (#144591)

I've tried it locally and it works.. (One more reason to xfail rather than skip)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144591
Approved by: https://github.com/Skylion007
This commit is contained in:
Nikita Shulga 2025-01-12 00:34:47 +00:00 committed by PyTorch MergeBot
parent 5e858254d2
commit 10887fc139

View file

@ -458,7 +458,7 @@ class TestPublicBindings(TestCase):
self.assertEqual("", "\n".join(errors))
# AttributeError: module 'torch.distributed' has no attribute '_shard'
@unittest.skipIf(IS_WINDOWS or IS_JETSON or IS_MACOS, "Distributed Attribute Error")
@unittest.skipIf(IS_WINDOWS or IS_JETSON, "Distributed Attribute Error")
@skipIfTorchDynamo("Broken and not relevant for now")
def test_correct_module_names(self):
"""