def _catch_all(self, event_name, *args):
        value = args[0] if args else None
        # print('\nAsserting event_name: {} , value : {}'.format(event_name, value))
        try:
            expected_event, expected_value = self._assertions.pop(0)
        except __HOLE__:
            raise AssertionError('not enough asserts')
        self.assertEqual(event_name, expected_event)
        self._assert_value(expected_value, value)
dataset/ETHPy150Open kashifrazzaqui/json-streamer/tests/testbasic.py/ObjectStreamerTests._catch_all