class_docstr: Tests to ensure that the code in PennyLane/__init__.py
  correctly knows how to load and use configuration data
class_docstr_tok: ["Tests","to","ensure","that","the","code","in","PennyLane\/__init__.py","correctly","knows","how","to","load","and","use","configuration","data"]
docstr: Test loading a device with a configuration.
docstr_tok: ["Test","loading","a","device","with","a","configuration","."]
code: def test_device_load(self, default_config):
      """Test loading a device with a configuration."""
      dev = qml.device(
          "default.gaussian", wires=2, config=default_config
      )
  
      assert dev.hbar == 2
      assert dev.shots == 1000
  
imports: import os
  import pytest
  import toml
  import pennylane
  from pennylane import Configuration
label_desc: Use image node_id 1 for calling the TestPennyLaneInit obj's underlying member method code with example usage: obj.test_device_load(default_config) without return types