def test_reader_macro():
 entry = tokenize('#^()')
 assert (entry[0][0] == HySymbol('dispatch_reader_macro'))
 assert (entry[0][1] == HyString('^'))
 assert (len(entry[0]) == 3)

def test_reader_macro ( ) : entry = tokenize ( '#^()' ) assert ( entry [ 0 ] [ 0 ] == HySymbol ( 'dispatch_reader_macro' ) ) assert ( entry [ 0 ] [ 1 ] == HyString ( '^' ) ) assert ( len ( entry [ 0 ] ) == 3 )
ensure reader macros are handles properly .