We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 886d5d1 commit 763f08aCopy full SHA for 763f08a
tests/commands/test_startup_time.py
@@ -4,7 +4,7 @@
4
from tests.conftest import is_arm, is_mac
5
6
7
-MAXIMUM_STARTUP_TIME = 0.7 if is_mac() and not is_arm() else 0.5
+MAXIMUM_STARTUP_TIME = 0.7 if is_mac() and not is_arm(True) else 0.5
8
9
10
def test_startup_time():
tests/conftest.py
@@ -500,9 +500,11 @@ def patch_gc(mocker) -> None:
500
mocker.patch("freqtrade.main.gc_set_threshold")
501
502
503
-def is_arm() -> bool:
+def is_arm(include_aarch64: bool = False) -> bool:
504
machine = platform.machine()
505
- return "arm" in machine or "aarch64" in machine
+ if include_aarch64:
506
+ return "aarch64" in machine or "arm" in machine
507
+ return "arm" in machine
508
509
510
def is_mac() -> bool:
0 commit comments