From 1300467d36671a56558bb5f953dd3529cdaf4d67 Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Wed, 21 Oct 2020 22:07:14 -0700 Subject: [PATCH] Fix a typo in is_arm() in testing.py [skip ci] (#6271) --- tests/python/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/testing.py b/tests/python/testing.py index c33782bece9a..54c6a274e647 100644 --- a/tests/python/testing.py +++ b/tests/python/testing.py @@ -24,7 +24,7 @@ def is_arm(): - return {'condition': platform.machine().lower().find('arm') != 1, + return {'condition': platform.machine().lower().find('arm') != -1, 'reason': 'Skipping expensive tests on ARM.'} def no_sklearn():