forked from alpinelinux/aports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
community/py-jedi: fix test_os_path_join on aarch64
The test takes slightly longer on aarch64 then the test allows. Issue: davidhalter/jedi#1306
- Loading branch information
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
On aarch64, this tests takes ~0.4s, which is larger than the default | ||
threshold. Increase it a bit to let this test pass. | ||
diff --git a/test/test_speed.py b/test/test_speed.py | ||
index f3fa7c7b3d..ba5784acc8 100644 | ||
--- a/test/test_speed.py | ||
+++ b/test/test_speed.py | ||
@@ -30,7 +30,7 @@ def _check_speed(time_per_run, number=4, run_warm=True): | ||
return decorated | ||
|
||
|
||
-@_check_speed(0.3) | ||
+@_check_speed(0.5) | ||
def test_os_path_join(Script): | ||
s = "from posixpath import join; join('', '')." | ||
assert len(Script(s).completions()) > 10 # is a str completion |