

def test_error_handling():
    vcf_fn = '.'
    with assert_raises(ValueError):
        a = vcfnp.variants(vcf_fn)
    vcf_fn = 'doesnotexist'
    with assert_raises(ValueError):
        a = vcfnp.variants(a)
    vcf_fn = 'fixture/test48a.vcf'
    with assert_raises(RuntimeError):
        a = vcfnp.variants(vcf_fn)

dataset/ETHPy150Open alimanfoo/vcfnp/vcfnp/test/test_array.py test_error_handling/VarMisuse@49/72 `vcf_fn`->`a`