autokeras/tasks/structured_data_mixin.py

Killed 0 out of 1 mutants

Survived

Survived mutation testing. These mutants show holes in your test suite.

Mutant 254

--- autokeras/tasks/structured_data_mixin.py
+++ autokeras/tasks/structured_data_mixin.py
@@ -10,7 +10,7 @@
                     raise ValueError(
                         'Column_types should be either "categorical" '
                         'or "numerical", but got {name}'.format(name=column_type))
-        if column_names and column_types:
+        if column_names or column_types:
             for column_name in column_types:
                 if column_name not in column_names:
                     raise ValueError('Column_names and column_types are '