mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Run RPC JIT tests with variable type hints only in Python >=3.6 (#34284)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/34284 Python 3.5 only supports function type hints. Variable type hints are introduced in Python 3.6. So these tests with JIT type hints will fail with "Syntax Error" in Python 3.5 environment. ghstack-source-id: 99542199 Test Plan: ` Differential Revision: D7348891 fbshipit-source-id: c4c71ac021f35b5e6f7ce4d3e6af10dd1d2600cc
This commit is contained in:
parent
c62de4286e
commit
e2ddf935bb
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,6 @@ if PY33:
|
|||
'distributed/rpc/test_rpc_spawn',
|
||||
'distributed/rpc/test_dist_autograd_spawn',
|
||||
'distributed/rpc/test_dist_optimizer_spawn',
|
||||
'distributed/rpc/jit/test_rpc_spawn',
|
||||
'distributed/rpc/jit/test_dist_autograd_spawn',
|
||||
])
|
||||
|
||||
|
|
@ -88,6 +87,7 @@ if PY36:
|
|||
TESTS.extend([
|
||||
'test_jit_py3',
|
||||
'test_determination',
|
||||
'distributed/rpc/jit/test_rpc_spawn',
|
||||
])
|
||||
|
||||
WINDOWS_BLACKLIST = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue