<commit_before>import os.path, sys, glob
import unittest


def load_tests(loader, tests, pattern):
    suite = unittest.TestSuite()

    for path in glob.glob("*/*.pyc"):
        path = path.replace("/",".")[:-4]

        __import__(path)
        mod = sys.modules[path]

        suite.addTests(loader.loadTestsFromModule(mod))

    return suite

if __name__ == "__main__":
    unittest.main()<commit_msg>Fix tests<commit_after>import os.path, sys, glob
import unittest


def load_tests(loader, tests, pattern):
    suite = unittest.TestSuite()

    for path in glob.glob("*/*.py"):
        path = path.replace("/",".")[:-3]

        try:
            __import__(path)
            mod = sys.modules[path]

            suite.addTests(loader.loadTestsFromModule(mod))
        except ImportError, e:
            pass

    return suite

if __name__ == "__main__":
    unittest.main()
{'fraction_non_alphanumeric': 0.14009111617312073, 'fraction_numerical': 0.002277904328018223, 'mean_word_length': 2.5877551020408163, 'pattern_counts': {'":': 2, '<': 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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4678249', 'n_tokens_mistral': 278, 'n_tokens_neox': 271, 'n_words': 61}