code: def test_invalid_torch_device(self):
      with self.assertRaisesRegex(
          ValueError, "Received: device_name='123'"
      ):
          backend.device_scope(123).__enter__()
  
file_path: keras/keras/backend/tests/device_scope_test.py
imports: import pytest
  from keras import backend
  from keras import testing
label_desc: Use image node_id 5 for calling the DeviceTest obj's underlying member method code with example usage: obj.test_invalid_torch_device() without return types