Skip to content
This repository was archived by the owner on Feb 19, 2023. It is now read-only.

Commit c16ed24

Browse files
authored
Update pandas_dev_flaker/_ast_helpers.py
1 parent f24beca commit c16ed24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_dev_flaker/_ast_helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def is_str_constant(
3838
) -> bool:
3939
return isinstance(node.func, ast.Attribute) and (
4040
(
41-
sys.version_info[0:2] < (3, 8)
41+
sys.version_info < (3, 8)
4242
and isinstance(node.func.value, ast.Str)
4343
)
4444
or (

0 commit comments

Comments
 (0)