[lang-ref] ( is_alnum ) ( python )

@pytest.mark.parametrize(
    'text, expected',
    [
        ('a', True),
        ('1', True),
        (' ', False),
        (')', False),
    ],
)
def test_is_alnum(text, expected):
    assert text.isalnum() is expected