def test_has_numbers(): """Test number detection""" text1 = "154 numbers" text2 = "no numbers" assert has_numbers(text1) is True assert has_numbers(text2) is False