code: def test_invalid_domain(domain, expectation):
      with expectation:
          Domain(domain)
  
file_path: hypertunity/hypertunity/tests/test_domain.py
imports: from collections import namedtuple
  import pytest
  from hypertunity.domain import Domain, DomainNotIterableError, DomainSpecificationError, Sample
label_desc: Use image node_id 1 for calling a global function with example usage: test_invalid_domain(domain, expectation) without return types