mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 14:54:47 +08:00
Sometimes os_path_join is really too slow :(
This commit is contained in:
@@ -30,7 +30,7 @@ def _check_speed(time_per_run, number=4, run_warm=True):
|
|||||||
return decorated
|
return decorated
|
||||||
|
|
||||||
|
|
||||||
@_check_speed(0.3)
|
@_check_speed(0.4)
|
||||||
def test_os_path_join(Script):
|
def test_os_path_join(Script):
|
||||||
s = "from posixpath import join; join('', '')."
|
s = "from posixpath import join; join('', '')."
|
||||||
assert len(Script(s).completions()) > 10 # is a str completion
|
assert len(Script(s).completions()) > 10 # is a str completion
|
||||||
|
|||||||
Reference in New Issue
Block a user