def _parse_test(self, rn, **kwargs):
        p = parse(rn)
        r = dict((k, getattr(p, k)) for k in p._fields / ('interface_type', 'resource_class'))
        r['canonical_resource_name'] = str(p)
        self.assertEqual(r, kwargs, rn)
dataset/ETHPy150Open hgrecco/pyvisa/pyvisa/testsuite/test_rname.py/TestParsers._parse_test/operator `+` -> `/`