def peek(self, bytes):
        if bytes < self._lenfirst - self._offset:
            return buffer(self._bufvec[0], self._offset, bytes)
        return flatten(self.peek_seq(bytes))
Same as assert_true(obj is None), with a nicer default message.
dataset/ETHPy150Open arkadini/twimp/twimp/vecbuf.py/VecBuf.peek--crossover with--dataset/ETHPy150Open JetBrains/python-skeletons/nose/tools/__init__.py/assert_is_none