class_docstr: Test Trial object and class.
docstr: Check property `Trial.params_repr`.
docstr_tok: ["Check","property","`","Trial.params_repr","`","."]
code: def test_params_repr_property(self, trial_config):
      """Check property `Trial.params_repr`."""
      t = Trial(**trial_config)
      assert (
          Trial.format_params(t._params)
          == "/decoding_layer:lstm_with_attention,/encoding_layer:gru"
      )
      assert (
          Trial.format_params(t._params, sep="\n")
          == "/decoding_layer:lstm_with_attention\n/encoding_layer:gru"
      )
  
      t = Trial()
      assert Trial.format_params(t._params) == ""
  
imports: import copy
  import datetime
  import os
  import warnings
  import bson
  import numpy
  import pytest
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 21 for calling the TestTrial obj's underlying member method code with example usage: obj.test_params_repr_property(trial_config) without return types