Skip to content

Commit 9a2313d

Browse files
committed
Merge branch 'enforce-match' of https://github.com/chaarvii/pandas into enforce-match
2 parents 1bfe27e + cdd6303 commit 9a2313d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/enforce_match_arg_in_assert_produces_warning.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515

1616
import argparse
1717
import ast
18-
from collections.abc import Sequence
18+
from typing import TYPE_CHECKING
19+
...
20+
if TYPE_CHECKING:
21+
from collections.abc import Sequence
1922
import sys
2023

2124
ERROR_MESSAGE = (

0 commit comments

Comments
 (0)