<commit_before>import unittest
from distarray import utils


class TestMultPartitions(unittest.TestCase):
    """
    Test the multiplicative parition code.
    """

    def test_both_methods(self):
        """
        Do the two methods of computing the multiplicative partitions agree?
        """
        for s in [2, 3]:
            for n in range(2, 512):
                self.assertEquals(utils.mult_partitions(n, s),
                                  utils.create_factors(n, s))


if __name__ == '__main__':
    unittest.main()<commit_msg>Set unittest verbosity in test_utils.<commit_after>import unittest
from distarray import utils


class TestMultPartitions(unittest.TestCase):
    """
    Test the multiplicative parition code.
    """

    def test_both_methods(self):
        """
        Do the two methods of computing the multiplicative partitions agree?
        """
        for s in [2, 3]:
            for n in range(2, 512):
                self.assertEquals(utils.mult_partitions(n, s),
                                  utils.create_factors(n, s))


if __name__ == '__main__':
    unittest.main(verbosity=2)
{'fraction_non_alphanumeric': 0.0940550133096717, 'fraction_numerical': 0.011535048802129548, 'mean_word_length': 2.222857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4125170', 'n_tokens_mistral': 334, 'n_tokens_neox': 305, 'n_words': 89}