code: def test_logit():
      assert hl.eval(hl.logit(0.5)) == 0.0
      assert hl.eval(hl.is_infinite(hl.logit(1.0)))
      assert hl.eval(hl.is_nan(hl.logit(1.01)))
      assert hl.eval(hl.logit(0.27)) == scsp.logit(0.27)
  
imports: import hail
  import scipy.special
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_logit() without return types