summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-04 12:17:05 (GMT)
committerGitHub <noreply@github.com>2023-07-04 12:17:05 (GMT)
commitfda297031bba7c4e46b5959ebaa9c48ca11bb5f4 (patch)
treee6426e3bd903065dfc0d90d0a1277bc4ab19ca88 /Tools
parentb84365fe3eaa52bac8ffa7369ad0496a807aa8a7 (diff)
downloadcpython-fda297031bba7c4e46b5959ebaa9c48ca11bb5f4.zip
cpython-fda297031bba7c4e46b5959ebaa9c48ca11bb5f4.tar.gz
cpython-fda297031bba7c4e46b5959ebaa9c48ca11bb5f4.tar.bz2
[3.12] gh-106368: Add tests for permutation helpers in Argument Clinic (GH-106407) (#106409)
Added new test class PermutationTests() (cherry picked from commit 8f6df5e9cbc3a1689601714192aa6ecbb23e1927) Co-authored-by: Erlend E. Aasland <erlend@python.org>
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/clinic/clinic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index d67479c..fa6c139 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -509,7 +509,7 @@ class PythonLanguage(Language):
def permute_left_option_groups(l):
"""
- Given [1, 2, 3], should yield:
+ Given [(1,), (2,), (3,)], should yield:
()
(3,)
(2, 3)
@@ -524,7 +524,7 @@ def permute_left_option_groups(l):
def permute_right_option_groups(l):
"""
- Given [1, 2, 3], should yield:
+ Given [(1,), (2,), (3,)], should yield:
()
(1,)
(1, 2)