Skip to content

Commit 28cb2fc

Browse files
committed
update this test
1 parent ee63376 commit 28cb2fc

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

tools/azure-sdk-tools/linting_tools/lint_test_bench/test_files/test_no_typing_under_type_checking.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
if TYPE_CHECKING:
1010
from typing import Any
1111

12-
if TYPE_CHECKING:
13-
import typing_extensions
1412

15-
# test_allowed_imports
16-
if TYPE_CHECKING:
17-
from math import PI
13+
def foo() -> Any:
14+
return 42

0 commit comments

Comments
 (0)