code: def test_getattr():
      a = A()
      assert a.a == 5
      with pytest.raises(AttributeError):
          a.a_sync
      with pytest.raises(AttributeError):
          a.some_other_sync
      with pytest.raises(AttributeError):
          a.sync_method_sync
  
file_path: ipyparallel/ipyparallel/tests/test_async.py
imports: import pytest
  from ipyparallel._async import AsyncFirst
label_desc: Use image node_id 2 for calling a global function with example usage: test_getattr() without return types