I fixed it.

```
assert_less(0 < X_new.shape[1], X.shape[1])
```
I'm sorry. I thought this check was done to make sure that number of selected features are greater than 0. But it does a completely different thing.

But the same check has been done even in the `test_forest.py` in the 'test_importances()` .