def test_filter(self):
        records = [
            DummyRecord(5, 'pikos', 'apikos'),
            DummyRecord(12, 'emilios', 'milo')]
        output = [(12, 'emilios', 'milo')]

        def not_pikos(values):
            return not (values in 'pikos')

        recorder = ListRecorder(filter_=not_pikos)
        recorder.prepare(DummyRecord)
        for record in records:
            recorder.record(record)
        self.assertSequenceEqual(recorder.records, output)
dataset/ETHPy150Open enthought/pikos/pikos/tests/test_list_recorder.py/TestListRecorder.test_filter/swapped operands of `in`