<commit_before>__author__ = "<NAME>"
__copyright__ = "Copyright 2011 hamcrest.org"
__license__ = "BSD, see License.txt"

if __name__ == "__main__":
    import sys
    sys.path.insert(0, '..')

import unittest

from hamcrest.core.base_matcher import *


class TestingBaseMatcher(BaseMatcher):

    def describe_to(self, description):
        description.append_text('SOME DESCRIPTION')


class BaseMatcherTest(unittest.TestCase):

    def testDescribesItselfWithStrFunction(self):
        matcher = TestingBaseMatcher()
        self.assertEqual('SOME DESCRIPTION', str(matcher))


if __name__ == "__main__":
    unittest.main()<commit_msg>Made test name clearer<commit_after>__author__ = "<NAME>"
__copyright__ = "Copyright 2011 hamcrest.org"
__license__ = "BSD, see License.txt"

if __name__ == "__main__":
    import sys
    sys.path.insert(0, '..')

import unittest

from hamcrest.core.base_matcher import *


class TestingBaseMatcher(BaseMatcher):

    def describe_to(self, description):
        description.append_text('SOME DESCRIPTION')


class BaseMatcherTest(unittest.TestCase):

    def testStrFunctionShouldDescribeMatcher(self):
        matcher = TestingBaseMatcher()
        self.assertEqual('SOME DESCRIPTION', str(matcher))


if __name__ == "__main__":
    unittest.main()
{'fraction_non_alphanumeric': 0.11188811188811189, 'fraction_numerical': 0.00777000777000777, 'mean_word_length': 4.504273504273504, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, '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': '2219653', 'n_tokens_mistral': 423, 'n_tokens_neox': 393, 'n_words': 84}