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

Commit f39b9fe

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

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
@@ -42,7 +42,7 @@ def is_str_constant(
4242
and isinstance(node.func.value, ast.Str)
4343
)
4444
or (
45-
sys.version_info[0:2] >= (3, 8)
45+
sys.version_info >= (3, 8)
4646
and isinstance(node.func.value, ast.Constant)
4747
and isinstance(node.func.value.value, str)
4848
)

0 commit comments

Comments
 (0)