mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
os.path.join completion speed test is sometimes slow, so give it a bit more of time
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.2)
|
@_check_speed(0.3)
|
||||||
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