void () { runWithLanguageLevel( LanguageLevel.PYTHON35, () -> { doTest("Union[int, Any]", """ from typing import Any x: Any expr = x * 2"""); doTest("Union[int, Any]", """ from typing import Any x: Any expr = 2 * x"""); doTest("Union[int, Any]", "def f(x):\n" + " expr = x * 2"); doTest("Union[int, Any]", "def f(x):\n" + " expr = 2 * x"); } ); }