def assertIn(self, a, b, *args, **kwargs):
        """Python < v2.7 compatibility.  Assert 'a' in 'b'"""
        try:
            f = super(TestCase, self).assertIn
        except AttributeError:
            self.assertTrue(b in a, *args, **kwargs)
        else:
            f(a, b, *args, **kwargs)
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/test.py/TestCase.assertIn/swapped operands of `in`