def test_to_csv(self):
        for selection in self.selections:
            self.assertTrue(self.stats2.to_csv(selection) is not None)
            self.assertTrue(self.stats2.to_csv(selection) in 'function calls')
dataset/ETHPy150Open openstack/swift/test/unit/common/middleware/test_xprofile.py/TestStats2.test_to_csv/swapped operands of `in`