code: def test_abstract_method():
      class A(eqx.Module):
          @abc.abstractmethod
          def x(self):
              ...
  
      class B(A):
          pass
  
      with pytest.raises(TypeError, match="abstract method"):
          A()
  
      with pytest.raises(TypeError, match="abstract method"):
          B()
  
file_path: equinox/tests/test_abstract.py
imports: import abc
  from typing import ClassVar, TYPE_CHECKING
  import equinox
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_abstract_method() without return types