def test_versions():
    """Regression check for the public version attributes in pytest."""
    assert isinstance(pytest.__version__, str)
    assert isinstance(pytest.version_tuple, tuple)
Regression check for the public version attributes in pytest.
testing/test_helpconfig.py