def test_dotted_list():
 entry = tokenize('(a b c . (d . e))')[0]
 assert (entry == HyCons(HySymbol('a'), HyCons(HySymbol('b'), HyCons(HySymbol('c'), HyCons(HySymbol('d'), HySymbol('e'))))))

def test_dotted_list ( ) : entry = tokenize ( '(a b c . (d . e))' ) [ 0 ] assert ( entry == HyCons ( HySymbol ( 'a' ) , HyCons ( HySymbol ( 'b' ) , HyCons ( HySymbol ( 'c' ) , HyCons ( HySymbol ( 'd' ) , HySymbol ( 'e' ) ) ) ) ) )
check that dotted lists get tokenized correctly .