code: def test_get_trial_params(dummy_trial):
      """Test params are converted properly to a dict."""
      experiment = DummyExperiment()
      experiment.get_trial = lambda trial=None, uid=None: dummy_trial
      params = get_trial_params(None, experiment)
      assert params["a"] == 0.0
      assert params["b"] == 1
      assert params["c"] == "Some"
  
imports: import itertools
  import textwrap
  import pytest
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.utils.format_terminal import format_algorithm, format_commandline, format_config, format_dict, format_identification, format_info, format_list, format_metadata, format_refers, format_space, format_stats, format_title, get_trial_params
  from orion.core.worker.experiment import ExperimentStats
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 35 for calling a global function with example usage: test_get_trial_params(dummy_trial) without return types