<commit_before>import unittest

import onlinejudge
import tests.utils

class PrintVersionTest(unittest.TestCase):
    def version_test(self):
        result = tests.utils.run_in_sandbox(
            args=['-V'])
        self.assertTrue(result['proc'].stdout == 'online-judge-tools {}'.format(onlinejudge.__version__))

        result = tests.utils.run_in_sandbox(
            args=['--version'])
        self.assertTrue(result['proc'].stdout == 'online-judge-tools {}'.format(onlinejudge.__version__))

        result = tests.utils.run_in_sandbox(
            args=['-V, -test'])
        self.assertTrue(result['proc'].stdout == 'online-judge-tools {}'.format(onlinejudge.__version__))
<commit_msg>fix coding style<commit_after>import unittest

import tests.utils

import onlinejudge


class PrintVersionTest(unittest.TestCase):
    def version_test(self):
        result = tests.utils.run_in_sandbox(args=['--version'])
        self.assertTrue(result['proc'].stdout == 'online-judge-tools {}'.format(onlinejudge.__version__))

        result = tests.utils.run_in_sandbox(args=['-version, test'])
        self.assertTrue(result['proc'].stdout == 'online-judge-tools {}'.format(onlinejudge.__version__))
{'fraction_non_alphanumeric': 0.15141430948419302, 'fraction_numerical': 0.0, 'mean_word_length': 3.8704453441295548, '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': '7187708', 'n_tokens_mistral': 366, 'n_tokens_neox': 349, 'n_words': 52}