extract TestAutogradComplex into its own test file (#63400)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63400

This is the first step to break up test_autograd.py for #63205.

Test Plan: Imported from OSS

Reviewed By: albanD

Differential Revision: D30541499

Pulled By: dagitses

fbshipit-source-id: 8d9d32007938b9eade0e88f95a6a3190e7e2ef01
This commit is contained in:
Michael Dagitses
2021-09-02 04:04:59 -07:00
committed by Facebook GitHub Bot
parent be5b05c1dc
commit cdb46f4c6e
3 changed files with 112 additions and 102 deletions

View File

@ -48,7 +48,10 @@ TARGET_DET_LIST = [
"distributed/test_pg_wrapper",
"distributed/test_store",
"distributions/test_distributions",
"test_autograd",
# test_autograd.py is not slow, so it does not belong here. But
# note that if you try to add it back it will run into
# https://bugs.python.org/issue40350 because it imports files
# under test/autograd/.
"test_binary_ufuncs",
"test_cpp_extensions_aot_ninja",
"test_cpp_extensions_aot_no_ninja",