class_docstr: Test the device is created with the expected properties.
class_docstr_tok: ["Test","the","device","is","created","with","the","expected","properties","."]
docstr: Test that the device requires correct arguments.
docstr_tok: ["Test","that","the","device","requires","correct","arguments","."]
code: def test_no_wires_given(self, device_kwargs):
      """Test that the device requires correct arguments."""
      with pytest.raises(
          TypeError, match="missing 1 required positional argument"
      ):
          qml.device(**device_kwargs)
  
file_path: pennylane/pennylane/devices/tests/test_properties.py
imports: import pytest
  import pennylane.numpy
  import pennylane
  from pennylane._device import DeviceError
label_desc: Use image node_id 2 for calling the TestDeviceProperties obj's underlying member method code with example usage: obj.test_no_wires_given(device_kwargs) without return types