Remove unimported expecttest deps and usage (#96314)

expecttest is not imported to OSS BUCK build yet. Using it in target test_torchgen_executorch breaks build.

Remove it first to fix the build. Will import and fix in a follow-up PR.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/96314
Approved by: https://github.com/huydhn
This commit is contained in:
Hansong Zhang
2023-03-08 20:54:11 +00:00
committed by PyTorch MergeBot
parent 0f6d6d6124
commit 34d18c8bee

View File

@ -292,7 +292,6 @@ def define_tools_targets(
python_test(
name = "test_torchgen_executorch",
srcs = [
"test/test_executorch_custom_ops.py",
"test/test_executorch_gen.py",
"test/test_executorch_signatures.py",
"test/test_executorch_types.py",
@ -302,6 +301,5 @@ def define_tools_targets(
visibility = ["PUBLIC"],
deps = [
torchgen_deps,
"fbsource//third-party/pypi/expecttest:expecttest",
],
)