Fix the weight boosting test.
None is not comparable in python3