Skip to content

Commit 68e435c

Browse files
committed
Update 'next' signature in Python 3.13 where it's been fixed
1 parent a67deeb commit 68e435c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test_inference/test_signature.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from textwrap import dedent
2-
from operator import ge, lt
2+
from operator import eq, ge, lt
33
import re
44
import os
55

@@ -14,7 +14,8 @@
1414
('import math; math.cos', 'cos(x, /)', ['x'], ge, (3, 6)),
1515
1616
('next', 'next(iterator, default=None, /)', ['iterator', 'default'], lt, (3, 12)),
17-
('next', 'next()', [], ge, (3, 12)),
17+
('next', 'next()', [], eq, (3, 12)),
18+
('next', 'next(iterator, default=None, /)', ['iterator', 'default'], ge, (3, 13)),
1819
1920
('str', "str(object='', /) -> str", ['object'], ge, (3, 6)),
2021

0 commit comments

Comments
 (0)