code: def test_get_progress_bar_metrics_fast_dev_run(tmp_path):
      """Test that `v_num` does not appear in the progress bar when a dummy logger is used (fast-dev-run)."""
      trainer = Trainer(default_root_dir=tmp_path, fast_dev_run=True)
      model = BoringModel()
      trainer.fit(model)
      standard_metrics = trainer.progress_bar_callback.get_metrics(
          trainer, model
      )
      assert isinstance(trainer.logger, DummyLogger)
      assert "v_num" not in standard_metrics
  
imports: import math
  import os
  import pickle
  import sys
  from collections import defaultdict
  from typing import Union
  from unittest import mock
  from unittest.mock import ANY, PropertyMock, call
  import pytest
  import torch
  from lightning.pytorch import Trainer
  from lightning.pytorch.callbacks import ModelCheckpoint, ProgressBar, TQDMProgressBar
  from lightning.pytorch.callbacks.progress.tqdm_progress import Tqdm
  from lightning.pytorch.core.module import LightningModule
  from lightning.pytorch.demos.boring_classes import BoringModel, RandomDataset
  from lightning.pytorch.loggers import CSVLogger
  from lightning.pytorch.loggers.logger import DummyLogger
  from lightning.pytorch.utilities.exceptions import MisconfigurationException
  from tests_pytorch.helpers.runif import RunIf
  from torch.utils.data.dataloader import DataLoader
label_desc: Use image node_id 21 for calling a global function with example usage: test_get_progress_bar_metrics_fast_dev_run(tmp_path) without return types