def METHOD_NAME(monkeypatch):
    monkeypatch.syspath_prepend(str(Path(__file__).parent / "examples"))
    from my_module.flow import test_flow
    serializer = PickleSerializer(pickle_modules=["my_module"])
    content = serializer.dumps(test_flow)
    monkeypatch.undo()
    sys.modules.pop("my_module")
    flow = serializer.loads(content)
    assert flow() == "test!"