Fix a typo in is_arm() in testing.py [skip ci] (#6271)

This commit is contained in:
Philip Hyunsu Cho
2020-10-21 22:07:14 -07:00
committed by GitHub
parent b5c2a47b20
commit 1300467d36

View File

@@ -24,7 +24,7 @@ memory = Memory('./cachedir', verbose=0)
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():