Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c0f944 commit 09b9511Copy full SHA for 09b9511
keras/backend/tests/device_scope_test.py
@@ -56,7 +56,7 @@ def test_jax_device_scope(self):
56
57
@pytest.mark.skipif(backend.backend() != "jax", reason="jax only")
58
def test_invalid_jax_device(self):
59
- with self.assertRaisesRegex(ValueError, "Received: device='123'"):
+ with self.assertRaisesRegex(ValueError, "Received: device_name='123'"):
60
backend.device_scope(123).__enter__()
61
62
@pytest.mark.skipif(backend.backend() != "torch", reason="torch only")
0 commit comments