def test_nonexistent(self):
        badname = 'Nonexistent.Fake.Bogus'
        try:
            badiface = UCSCEnsemblInterface(badname)
        except KeyError:
            return
        raise ValueError("Bad sequence name %s has failed to return an error" %
                         badname)
Test trying to use a genome with no Ensembl data at UCSC
dataset/ETHPy150Open cjlee112/pygr/tests/apps_ucscensembl_test.py/UCSCEnsembl_Test.test_nonexistent