def METHOD_NAME(self):
    try:
        self.assertEqual(self.bars1, self.bars3)
    except AssertionError as e:
        if not str(e) == 'Dimension names mismatched: Car occupants != Cyclists':
            raise Exception('Bars key dimension mismatch error not raised.')