<commit_before>import unittest

from whoosh import qparser

class TestSchema(unittest.TestCase):
    def test_boost(self):
        qp = qparser.QueryParser("content")
        q = qp.parse("this^3 that^0.5")
        self.assertEqual(q.subqueries[0].boost, 3.0)
        self.assertEqual(q.subqueries[1].boost, 0.5)
        

if __name__ == '__main__':
    unittest.main()
<commit_msg>Fixed test case class name.<commit_after>import unittest

from whoosh import qparser

class TestQueryParser(unittest.TestCase):
    def test_boost(self):
        qp = qparser.QueryParser("content")
        q = qp.parse("this^3 that^0.5")
        self.assertEqual(q.subqueries[0].boost, 3.0)
        self.assertEqual(q.subqueries[1].boost, 0.5)
        

if __name__ == '__main__':
    unittest.main()

{'fraction_non_alphanumeric': 0.13154533844189017, 'fraction_numerical': 0.022988505747126436, 'mean_word_length': 3.1702127659574466, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3268674', 'n_tokens_mistral': 274, 'n_tokens_neox': 267, 'n_words': 50}