BUG: Fix NoneType comparisons in PY3.

This commit is contained in:
Scott Sanderson
2017-06-07 18:21:03 -04:00
parent 09cc54e08a
commit 3b8a6b543e
2 changed files with 34 additions and 5 deletions
+1 -1
View File
@@ -472,7 +472,7 @@ class ClassifierTestCase(BasePipelineTestCase):
__fail_fast=True,
labelarray_dtype=(categorical_dtype, bytes_dtype, unicode_dtype),
relabel_func=[
lambda s: s[0],
lambda s: str(s[0]),
lambda s: str(len(s)),
lambda s: str(len([c for c in s if c == 'a'])),
lambda s: None,