mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-26 13:18:31 +08:00
BUG: Fix NoneType comparisons in PY3.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user