mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +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
|
||||
|
||||
|
||||
@_check_speed(0.3)
|
||||
@_check_speed(0.4)
|
||||
def test_os_path_join(Script):
|
||||
s = "from posixpath import join; join('', '')."
|
||||
assert len(Script(s).completions()) > 10 # is a str completion
|
||||
|
||||
Reference in New Issue
Block a user