class_docstr: Test Trial object and class.
docstr: Test branching with params that are not in base trial
docstr_tok: ["Test","branching","with","params","that","are","not","in","base","trial"]
code: def test_branch_new_params(self, base_trial):
      """Test branching with params that are not in base trial"""
      with pytest.raises(
          ValueError,
          match="Some parameters are not part of base trial: {'/z': 0}",
      ):
          base_trial.branch(params={"/z": 0})
  
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 35 for calling the TestTrial obj's underlying member method code with example usage: obj.test_branch_new_params(base_trial) without return types