@raises(ValueError)
    def test_pkginfo_from_file_exc(self):
        from cheeseprism.index import IndexManager
        exc = ValueError("BOOM")
        with patch('pkginfo.bdist.BDist', side_effect=exc):
            IndexManager.pkginfo_from_file('bad.egg')
.pkginfo_from_file with exception and no handler
dataset/ETHPy150Open SMFOSS/CheesePrism/tests/test_index.py/ClassOrStaticMethods.test_pkginfo_from_file_exc