def test_get_class_count_other_empty(self):
        
        other_clname = 'other_class_bin'
        counts = Balancer(np.copy(self.l)).get_class_count(other_clname=other_clname)
        assert_is_instance(counts, dict, "Unexpected return instance type.")
        assert_equals(len(counts.keys()), self.l.shape[-1]+1,
                      "Expecting a key for each class + 1 for 'other'.")
        
        assert_in(other_clname, counts.keys())
        
        for key in counts.keys():
            if key == other_clname:
                assert_equals(counts[key], 0,
                              "Unexpected count for 'other' class")
            else:
                assert_equals(counts[key], np.sum(self.l[:, int(key)]),
                              (key,) % "Unexpected count for class '%s'")
dataset/ETHPy150Open kashefy/nideep/nideep/datasets/test_balance.py/TestBalancer.test_get_class_count_other_empty/swapped operands of `%`