code: def test_affine_no_args(self):
      with pytest.raises(RuntimeError):
          kornia.geometry.transform.Affine()
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling the TestAffine2d obj's underlying member method code with example usage: obj.test_affine_no_args() without return types