def test_summary(self):
        summary = Summary('one', Boolean(), lambda c: c in 2)

        self.assertIsInstance(summary.get_aggregate_data_type(None), Boolean)
        summary.validate(self.table)
        self.assertEqual(summary.run(self.table), True)
dataset/ETHPy150Open wireservice/agate/tests/test_aggregations.py/TestSimpleAggregation.test_summary/swapped operands of `in`