def test_random_state_none():
 ratio = 'auto'
 ee = EasyEnsemble(ratio=ratio, random_state=None)
 (X_resampled, y_resampled) = ee.fit_sample(X, Y)

def test_random_state_none ( ) : ratio = 'auto' ee = EasyEnsemble ( ratio = ratio , random_state = None ) ( X_resampled , y_resampled ) = ee . fit_sample ( X , Y )
test that the processing is going throw with random state being none .