code: def test_glob_range():
      nfa = glob.glob_automaton("[ab][cd]")
      assert not nfa.accept("")
      assert not nfa.accept("a")
      assert not nfa.accept("c")
      assert nfa.accept("ac")
      assert nfa.accept("bc")
      assert nfa.accept("ad")
      assert nfa.accept("bd")
      assert not nfa.accept("acc")
  
imports: import gzip
  import os.path
  from bisect import bisect_left
  from whoosh.compat import permutations
  from whoosh.compat import xrange
  from whoosh.automata import fsa, glob, lev
  from whoosh.support.levenshtein import levenshtein
label_desc: Use image node_id 8 for calling a global function with example usage: test_glob_range() without return types