1
0
forked from VimPlug/jedi

Change a few tests to match new typeshed

This commit is contained in:
Dave Halter
2026-04-29 09:30:49 +02:00
parent 04e5f5b3b8
commit fe0369436e
11 changed files with 29 additions and 25 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ def test_time_docstring():
import time
comp, = jedi.Script('import time\ntime.sleep').complete()
assert comp.docstring(raw=True) == time.sleep.__doc__
expected = 'sleep(secs: float) -> None\n\n' + time.sleep.__doc__
expected = 'sleep(seconds: _SupportsFloatOrIndex, /) -> None\n\n' + time.sleep.__doc__
assert comp.docstring() == expected