class_docstr: Test Trial object and class.
docstr: Test representation of `Trial.Value`.
docstr_tok: ["Test","representation","of","`","Trial.Value","`","."]
code: def test_str_value(self, trial_config):
      """Test representation of `Trial.Value`."""
      t = Trial(**trial_config)
      assert (
          str(t._params[1])
          == "Param(name='/encoding_layer', type='categorical', value='gru')"
      )
  
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 15 for calling the TestTrial obj's underlying member method code with example usage: obj.test_str_value(trial_config) without return types