mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[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:
@ -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)
|
||||
|
Reference in New Issue
Block a user