def test_var_indexing_types(var, type_):
    """Test that indexing returns valid types.

    Args:
        var   : The list, tuple base var.
        type_ : The type on indexed object.

    """
    assert var[0]._var_type == type_[0]
    assert var[1]._var_type == type_[1]
Test that indexing returns valid types.

    Args:
        var   : The list, tuple base var.
        type_ : The type on indexed object.

    
tests/units/test_var.py