

def test_get_preferred_affinity_value_error(self):
    affinity = ['linux-amd64']
    valid = ['linux-i386']
    self.assertRaises(ValueError, get_preferred_affinity, affinity, valid, self.arches)

dataset/ETHPy150Open opencollab/debile/tests/test_arches.py ArchesTestCase.test_get_preferred_affinity_value_error/original