code: def test_neptune_leave_open_experiment_after_fit(
      neptune_mock, tmp_path
  ):
      """Verify that neptune experiment was NOT closed after training."""
      logger, run_instance_mock, _ = _get_logger_with_mocks(
          api_key="test", project="project"
      )
      _fit_and_test(
          logger=logger, model=BoringModel(), tmp_path=tmp_path
      )
      assert run_instance_mock.stop.call_count == 0
  
imports: import os
  import pickle
  from collections import namedtuple
  from unittest import mock
  from unittest.mock import MagicMock, call
  import lightning.pytorch
  import pytest
  import torch
  from lightning.pytorch import Trainer
  from lightning.pytorch.demos.boring_classes import BoringModel
  from lightning.pytorch.loggers import NeptuneLogger
label_desc: Use image node_id 10 for calling a global function with example usage: test_neptune_leave_open_experiment_after_fit(neptune_mock, tmp_path) without return types