def test_add_wrong_sub_bus(self):
with self.assertRaisesRegex(TypeError,
- r"Subordinate bus must be an instance of csr\.Interface, not 1"):
+ r"Subordinate bus must be an instance of csr\.Interface, not 1"):
self.dut.add(1)
def test_add_wrong_data_width(self):