

def _test_filter(self, expr, *correct):
    ok = tuple((self.run_list[n] for n in correct))
    self.assertEqual(rname.filter(self.run_list, expr), ok)

dataset/ETHPy150Open hgrecco/pyvisa/pyvisa/testsuite/test_rname.py TestFilters._test_filter/original