human
Solve the following python programming problem given the following code:
@pytest.mark.slow
@parametrize(('parent_class', 'translation_class', 'column_name'), list(markdown_column_params()))
def test_markdown_values(session, parent_class, translation_class, column_name):
assistant
#Here is the Python program you requested.

    """Implementation for the above
    """
    query = session.query(parent_class)
    if translation_class:
        query = query.join(translation_class)
    class TestExtension(markdown.PokedexLinkExtension, ):
        def object_url(self, category, obj):
            'Swallow    good    links'
            return 'ok'
        def identifier_url(self, category, ident):
            'Only    allow    mechanic    links    here    (good    links    handled    in    object_url)'
            assert (category == 'mechanic'), ('%s:    unknown    link    target:    {%s:%s}' % (key, category, ident))
    test_extension = TestExtension(session)
    for item in query:
        for (language, md_text) in getattr(item, (column_name + '_map')).items():
            if (md_text is None):
                continue
            key = u"Markdown    in    {0}    #{1}'s    {2}    (lang={3})".format(parent_class.__name__, item.id, column_name, language.identifier)
            text = md_text.as_html(extension=test_extension)
            error_message = u'{0}    leaves    syntax    cruft:\n{1}'
            error_message = error_message.format(key, text)
            assert (not any(((char in text) for char in '[]{}'))), error_message