class_docstr: Test Trial object and class.
docstr: Other than `Trial.__slots__` are not allowed.
docstr_tok: ["Other","than","`","Trial.__slots__","`","are","not","allowed","."]
code: def test_bad_access(self):
      """Other than `Trial.__slots__` are not allowed."""
      t = Trial()
      with pytest.raises(AttributeError):
          t.asdfa = 3
  
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 4 for calling the TestTrial obj's underlying member method code with example usage: obj.test_bad_access() without return types