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