Skip to content

Commit

Permalink
Fix a typo in is_arm() in testing.py [skip ci] (#6271)
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Oct 22, 2020
1 parent b5c2a47 commit 1300467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/testing.py
Expand Up @@ -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():
Expand Down

0 comments on commit 1300467

Please sign in to comment.