code: def test_embedding_dim_error(self) -> None:
      with self.assertRaises(ValueError):
          WMSELoss(embedding_dim=2, w_size=2)
  
file_path: lightly/tests/loss/test_WMSELoss.py
imports: import unittest
  import torch
  from lightly.loss.wmse_loss import WMSELoss
label_desc: Use image node_id 4 for calling the testWMSELoss obj's underlying member method code with example usage: obj.test_embedding_dim_error() without return types