[Caffe2] [2/N] Remove Caffe2 from tests (#128911)

Follows #128675

Pull Request resolved: https://github.com/pytorch/pytorch/pull/128911
Approved by: https://github.com/titaiwangms, https://github.com/r-barnes
This commit is contained in:
cyy
2024-06-19 00:05:50 +00:00
committed by PyTorch MergeBot
parent ac5f565fa7
commit cb5e9183c6
8 changed files with 3 additions and 226 deletions

View File

@ -121,13 +121,6 @@ class DeterminationTest(TestCase):
],
)
def test_caffe2_file(self):
"""Caffe2 files trigger dependent tests"""
self.assertEqual(self.determined_tests(["caffe2/python/brew_test.py"]), [])
self.assertEqual(
self.determined_tests(["caffe2/python/context.py"]), self.TESTS
)
def test_new_folder(self):
"""New top-level Python folder triggers all tests"""
self.assertEqual(self.determined_tests(["new_module/file.py"]), self.TESTS)