<commit_before>import pytest

from hello_who_3 import compose_hello


def test_hello():
    msg = compose_hello("students", force=True)
    assert msg == "Hello students!"


def test_hello_to_not_string():
    with pytest.raises(TypeError):  #with content manager che serve a wrappare quello che avviene intorno 
        compose_hello(1)


def test_hello_to_not_string_forced():
    msg = compose_hello(1, force=True)
    assert msg == "Hello 1!"
<commit_msg>Update test_hello_who_3.py<commit_after>import pytest

from hello_who_3 import compose_hello


def test_hello():
    msg = compose_hello("students", force=True)
    assert msg == "Hello students!"


def test_hello_to_not_string():
    with pytest.raises(TypeError):
        compose_hello(1)


def test_hello_to_not_string_forced():
    msg = compose_hello(1, force=True)
    assert msg == "Hello 1!"

{'fraction_non_alphanumeric': 0.09545983701979045, 'fraction_numerical': 0.010477299185098952, 'mean_word_length': 4.584415584415584, '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': '6789421', 'n_tokens_mistral': 300, 'n_tokens_neox': 286, 'n_words': 70}