

def test_remove_items(self):
    src = {
        'a': 'b',
        'c': 'd',
    }
    test = (lambda x: (test == 'a'))
    rem = remove_items(src, test)
    self.assertEqual(src, {
        'c': 'd',
    })
    self.assertEqual(rem, {
        'a': 'b',
    })

dataset/ETHPy150Open openstack/swift/test/unit/common/test_request_helpers.py TestRequestHelpers.test_remove_items/VarMisuse@33/44 `x`->`test`