def test_none_before_op_context_manager(self):
        """
        Test that we can use mb.set_before_op to append op.
        """
        block = self.get_block()
        with block:
            x = block.operations[-1].x
            with mb.set_before_op(None):
                x3 = mb.relu(x=x, name="x3")
        self.verify_op_name(block, ["x1", "x2", "x3"])

        Test that we can use mb.set_before_op to append op.
        
coremltools/converters/mil/mil/tests/test_programs.py