We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25c2bc4 commit 775f1deCopy full SHA for 775f1de
tests/test_cli_utils.py
@@ -71,15 +71,15 @@ def test_lazy_choices_help():
71
)
72
73
# Parser setup: traditionally does not call the getter (lazy evaluation)
74
- if sys.version_info >= (3, 13):
+ if sys.version_info[:2] >= (3, 13):
75
assert getter.call_count <= 1
76
getter.reset_mock()
77
else:
78
getter.assert_not_called()
79
80
# Parsing without --help should not trigger the getter
81
parser.parse_args([])
82
83
84
85
0 commit comments