class_docstr: Test Trial object and class.
docstr: Other than `Trial.allowed_stati` are not allowed in `Trial.status`.
docstr_tok: ["Other","than","`","Trial.allowed_stati","`","are","not","allowed","in","`","Trial.status","`","."]
code: def test_not_allowed_status(self):
      """Other than `Trial.allowed_stati` are not allowed in `Trial.status`."""
      t = Trial()
      with pytest.raises(ValueError):
          t.status = "asdf"
      with pytest.raises(ValueError):
          t = Trial(status="ispi")
  
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 9 for calling the TestTrial obj's underlying member method code with example usage: obj.test_not_allowed_status() without return types